From 4a77c781ef9a599ccff0b9736f96ec3b1cc3b50e Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Fri, 3 Oct 2003 07:51:30 +0000 Subject: [PATCH] argc has already been decremented --- applets/busybox.c | 5 +++-- 1 file 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) /* 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)); } /* -- 2.25.1