aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/ipcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/ipcs.c')
-rw-r--r--toys/pending/ipcs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/toys/pending/ipcs.c b/toys/pending/ipcs.c
index d974a519..b5986af7 100644
--- a/toys/pending/ipcs.c
+++ b/toys/pending/ipcs.c
@@ -425,10 +425,7 @@ void ipcs_main(void)
if (flag(m)) show_shm_id();
else if (flag(s)) show_sem_id();
else if (flag(q)) show_msg_id();
- else {
- toys.exithelp++;
- error_exit(NULL);
- }
+ else help_exit(0);
return;
}