projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb920d9
)
argc has already been decremented
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 3 Oct 2003 07:51:30 +0000
(07:51 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 3 Oct 2003 07:51:30 +0000
(07:51 -0000)
applets/busybox.c
patch
|
blob
|
history
diff --git
a/applets/busybox.c
b/applets/busybox.c
index 0acb428f4b1e33e95a48674350d7d26cc64acb36..13b9f6fcbc878609f5eb4e4f8c21d4ce848cda43 100644
(file)
--- 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));
}
/*