about summary refs log tree commit diff
path: root/cli/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/stat.c')
-rw-r--r--cli/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/stat.c b/cli/stat.c
index c2846c1..6d3b517 100644
--- a/cli/stat.c
+++ b/cli/stat.c
@@ -136,7 +136,7 @@ again:
     else
         err = btpd_tget(ipc, tps, ntps, stkeys, nstkeys, stat_cb, &cba);
     if (err != IPC_OK)
-        errx(1, ipc_strerror(err));
+        diemsg("command failed (%s).\n", ipc_strerror(err));
     if (names)
         printf("-------\n");
     if (individual)