[BusyBox-cvs] busybox/applets busybox.c,1.140,1.141

Glenn McGrath bug1 at busybox.net
Fri Oct 3 07:51:33 UTC 2003


Update of /var/cvs/busybox/applets
In directory winder:/tmp/cvs-serv2710/applets

Modified Files:
	busybox.c 
Log Message:
argc has already been decremented


Index: busybox.c
===================================================================
RCS file: /var/cvs/busybox/applets/busybox.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- busybox.c	3 Oct 2003 03:25:30 -0000	1.140
+++ busybox.c	3 Oct 2003 07:51:30 -0000	1.141
@@ -160,8 +160,9 @@
 
 	/* 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));
 }
 
 /*




More information about the busybox-cvs mailing list