aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/nohup.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/nohup.c')
-rw-r--r--toys/posix/nohup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/nohup.c b/toys/posix/nohup.c
index df264da2..658ab939 100644
--- a/toys/posix/nohup.c
+++ b/toys/posix/nohup.c
@@ -38,5 +38,5 @@ void nohup_main(void)
close(0);
open("/dev/null", O_RDONLY);
}
- xexec_optargs(0);
+ xexec(toys.optargs);
}