summaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/busybox.c b/busybox.c
index c8c060b..8f27dfb 100644
--- a/busybox.c
+++ b/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));
}