diff options
Diffstat (limited to 'cli/stat.c')
| -rw-r--r-- | cli/stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/stat.c b/cli/stat.c index 0ed75bf..1d1b781 100644 --- a/cli/stat.c +++ b/cli/stat.c @@ -162,8 +162,8 @@ again: stat_cb, &cba); else err = btpd_tget(ipc, tps, ntps, stkeys, nstkeys, stat_cb, &cba); - if (handle_ipc_res(err, "stat") != IPC_OK) - exit(1); + if (err != IPC_OK) + errx(1, ipc_strerror(err)); if (names) printf("-----\n"); if (individual) |