aboutsummaryrefslogtreecommitdiff
path: root/toys/other/unshare.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/unshare.c')
-rw-r--r--toys/other/unshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/unshare.c b/toys/other/unshare.c
index 9a938186..87db6039 100644
--- a/toys/other/unshare.c
+++ b/toys/other/unshare.c
@@ -35,5 +35,5 @@ void unshare_main(void)
if(unshare(f)) perror_exit("failed");
- xexec(toys.optargs);
+ xexec_optargs(0);
}