aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 85fa2405..e75fa811 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -190,7 +190,7 @@ void xvdaemon(void)
// vfork and exec /proc/self/exe
if (toys.stacktop) {
- xpopen(0, 0, 0);
+ xpopen_both(0, 0);
_exit(0);
}