summaryrefslogtreecommitdiff
path: root/applets/busybox.c
diff options
context:
space:
mode:
authorMark Whitley2001-03-02 17:47:17 +0000
committerMark Whitley2001-03-02 17:47:17 +0000
commit016771834af01be118621f89d92a3ecb29516a4f (patch)
tree2628aa895787164f2559b6d0228731b9accf3777 /applets/busybox.c
parent39842defdab7ccb3438adf8258a164f39696ccb2 (diff)
downloadbusybox-016771834af01be118621f89d92a3ecb29516a4f.zip
busybox-016771834af01be118621f89d92a3ecb29516a4f.tar.gz
Changed exit code from -1 to 0 when busybox is invoked with no args.
(Closes bug #1114.)
Diffstat (limited to 'applets/busybox.c')
-rw-r--r--applets/busybox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 5fec3d5..0250e4c 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 */