summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorGlenn L McGrath2003-10-03 07:51:30 +0000
committerGlenn L McGrath2003-10-03 07:51:30 +0000
commit4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e (patch)
tree4e3ebf39a64c54da458f729a91b5d9bf0adf8c20 /applets
parentcb920d9778397628ca4f0e31b3e106ee82db6def (diff)
downloadbusybox-4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e.zip
busybox-4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e.tar.gz
argc has already been decremented
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 0acb428..13b9f6f 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -160,8 +160,9 @@ int busybox_main(int argc, char **argv)
/* Flag that we've been here already */
been_there_done_that = 1;
-
- return (main(argc-1, argv+1));
+
+ /* Move the command line down a notch */
+ return (main(argc, argv+1));
}
/*