From: Mark Whitley Date: Fri, 2 Mar 2001 17:47:17 +0000 (-0000) Subject: Changed exit code from -1 to 0 when busybox is invoked with no args. X-Git-Tag: 0_50~133 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=016771834af01be118621f89d92a3ecb29516a4f;p=oweals%2Fbusybox.git Changed exit code from -1 to 0 when busybox is invoked with no args. (Closes bug #1114.) --- diff --git a/applets/busybox.c b/applets/busybox.c index 5fec3d5ec..0250e4c10 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -166,7 +166,7 @@ int busybox_main(int argc, char **argv) } } fprintf(stderr, "\n\n"); - exit(-1); + exit(0); } /* Flag that we've been here already */ diff --git a/busybox.c b/busybox.c index 5fec3d5ec..0250e4c10 100644 --- a/busybox.c +++ b/busybox.c @@ -166,7 +166,7 @@ int busybox_main(int argc, char **argv) } } fprintf(stderr, "\n\n"); - exit(-1); + exit(0); } /* Flag that we've been here already */