Forget to set final argv entry to NULL, breaking sh.c amoung
other things...
This commit is contained in:
1 parent
7da312058c
commit
8c28fd7849
2 files changed
+2
No files matched your search
@@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
|
||||
}
|
||||
while(index<=index2)
|
||||
*index++='\0';
|
||||
argv[ps_index]=NULL;
|
||||
|
||||
return (main(argc, argv));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user