Forget to set final argv entry to NULL, breaking sh.c amoung

other things...
This commit is contained in:
Eric Andersen 2000-12-09 00:19:30 +00:00
parent 7da312058c
commit 8c28fd7849
2 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
}
while(index<=index2)
*index++='\0';
argv[ps_index]=NULL;
return (main(argc, argv));
}

View File

@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
}
while(index<=index2)
*index++='\0';
argv[ps_index]=NULL;
return (main(argc, argv));
}