From e5354ca12a232b3f97726214254a868771cb70d1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 11 Sep 2015 16:35:14 -0500 Subject: Replace toys.exithelp with help_exit() in lib. --- toys/pending/ipcs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'toys/pending/ipcs.c') 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; } -- cgit v1.2.3