aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-02 17:47:17 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-02 17:47:17 +0000
commitfab841e186871c03558c39c93c926a77ba1734c2 (patch)
tree2628aa895787164f2559b6d0228731b9accf3777 /applets
parent60aaeabf20ac0e0277f4b9e7fa87fe9d78ffb379 (diff)
downloadbusybox-w32-fab841e186871c03558c39c93c926a77ba1734c2.tar.gz
busybox-w32-fab841e186871c03558c39c93c926a77ba1734c2.tar.bz2
busybox-w32-fab841e186871c03558c39c93c926a77ba1734c2.zip
Changed exit code from -1 to 0 when busybox is invoked with no args.
(Closes bug #1114.) git-svn-id: svn://busybox.net/trunk/busybox@1952 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c2
1 files changed, 1 insertions, 1 deletions
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)
166 } 166 }
167 } 167 }
168 fprintf(stderr, "\n\n"); 168 fprintf(stderr, "\n\n");
169 exit(-1); 169 exit(0);
170 } 170 }
171 171
172 /* Flag that we've been here already */ 172 /* Flag that we've been here already */