From 8c28fd78495311c985690157eebb06300069ba26 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 9 Dec 2000 00:19:30 +0000 Subject: Forget to set final argv entry to NULL, breaking sh.c amoung other things... --- applets/busybox.c | 1 + 1 file changed, 1 insertion(+) (limited to 'applets') diff --git a/applets/busybox.c b/applets/busybox.c index c8c060be7..8f27dfb8e 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)); } -- cgit v1.2.3