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 b936a093..e4354554 100644
--- a/toys/posix/nohup.c
+++ b/toys/posix/nohup.c
@@ -36,5 +36,5 @@ void nohup_main(void)
close(0);
open("/dev/null", O_RDONLY);
}
- xexec(toys.optargs);
+ xexec_optargs(0);
}