From 2ce1edcf544ac675e6762c9861a6b918401ea716 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 12 Oct 1999 15:42:48 +0000 Subject: Latest and greatest. -Erik --- applets/busybox.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'applets') diff --git a/applets/busybox.c b/applets/busybox.c index cdbefbe..f0258c3 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -189,7 +189,7 @@ int main(int argc, char **argv) } a++; } - return (busybox_main(argc, argv)); + exit (busybox_main(argc, argv)); } @@ -216,8 +216,7 @@ int busybox_main(int argc, char **argv) fprintf(stderr, "\nCurrently defined functions:\n"); while (a->name != 0) { - col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), a->name); - a++; + col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), (a++)->name); if (col>60) { fprintf(stderr, ",\n"); col=0; -- cgit v1.1