aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-10-03 07:51:30 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-10-03 07:51:30 +0000
commit4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e (patch)
tree4e3ebf39a64c54da458f729a91b5d9bf0adf8c20
parentcb920d9778397628ca4f0e31b3e106ee82db6def (diff)
downloadbusybox-w32-4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e.tar.gz
busybox-w32-4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e.tar.bz2
busybox-w32-4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e.zip
argc has already been decremented
-rw-r--r--applets/busybox.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 0acb428f4..13b9f6fcb 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -160,8 +160,9 @@ int busybox_main(int argc, char **argv)
160 160
161 /* Flag that we've been here already */ 161 /* Flag that we've been here already */
162 been_there_done_that = 1; 162 been_there_done_that = 1;
163 163
164 return (main(argc-1, argv+1)); 164 /* Move the command line down a notch */
165 return (main(argc, argv+1));
165} 166}
166 167
167/* 168/*