aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/vfork_daemon_rexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index 7e4b0c097..ebd32f8cd 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -46,8 +46,8 @@ void vfork_daemon_rexec(int nochdir, int noclose,
vfork_args = xcalloc(sizeof(char *), argc + 3);
vfork_args[a++] = CONFIG_BUSYBOX_EXEC_PATH;
while(*argv) {
- vfork_args[a++] = *argv;
- argv++;
+ vfork_args[a++] = *argv;
+ argv++;
}
vfork_args[a] = foreground_opt;
switch (vfork()) {