diff options
author | Eric Andersen | 2000-12-09 00:19:30 +0000 |
---|---|---|
committer | Eric Andersen | 2000-12-09 00:19:30 +0000 |
commit | 8c28fd78495311c985690157eebb06300069ba26 (patch) | |
tree | 2421791f8501b4f95ee61312b4953df4190cb26c /applets/busybox.c | |
parent | 7da312058ccf717c2305769ca7d4f379df614530 (diff) | |
download | busybox-8c28fd78495311c985690157eebb06300069ba26.zip busybox-8c28fd78495311c985690157eebb06300069ba26.tar.gz |
Forget to set final argv entry to NULL, breaking sh.c amoung
other things...
Diffstat (limited to 'applets/busybox.c')
-rw-r--r-- | applets/busybox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index c8c060b..8f27dfb 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv) } while(index<=index2) *index++='\0'; + argv[ps_index]=NULL; return (main(argc, argv)); } |