aboutsummaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-09 00:19:30 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-09 00:19:30 +0000
commit1fad95fbd6deb8fbcc895f0582b7568f2c36a856 (patch)
tree2421791f8501b4f95ee61312b4953df4190cb26c /busybox.c
parent9543d08482f7dbcfbc0cb3e93d746bec5be6c9b8 (diff)
downloadbusybox-w32-1fad95fbd6deb8fbcc895f0582b7568f2c36a856.tar.gz
busybox-w32-1fad95fbd6deb8fbcc895f0582b7568f2c36a856.tar.bz2
busybox-w32-1fad95fbd6deb8fbcc895f0582b7568f2c36a856.zip
Forget to set final argv entry to NULL, breaking sh.c amoung
other things... git-svn-id: svn://busybox.net/trunk/busybox@1407 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--busybox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/busybox.c b/busybox.c
index c8c060be7..8f27dfb8e 100644
--- a/busybox.c
+++ b/busybox.c
@@ -203,6 +203,7 @@ int busybox_main(int argc, char **argv)
203 } 203 }
204 while(index<=index2) 204 while(index<=index2)
205 *index++='\0'; 205 *index++='\0';
206 argv[ps_index]=NULL;
206 207
207 return (main(argc, argv)); 208 return (main(argc, argv));
208} 209}