diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-10-03 07:51:30 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-10-03 07:51:30 +0000 |
commit | 06ed6137e17186117354c9fc7b871a786c4fb232 (patch) | |
tree | 4e3ebf39a64c54da458f729a91b5d9bf0adf8c20 | |
parent | 83b65a3fd4d1c58e4e1cd78664a34905ee8b6d28 (diff) | |
download | busybox-w32-06ed6137e17186117354c9fc7b871a786c4fb232.tar.gz busybox-w32-06ed6137e17186117354c9fc7b871a786c4fb232.tar.bz2 busybox-w32-06ed6137e17186117354c9fc7b871a786c4fb232.zip |
argc has already been decremented
git-svn-id: svn://busybox.net/trunk/busybox@7594 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | applets/busybox.c | 5 |
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 | /* |