aboutsummaryrefslogtreecommitdiff
path: root/toys/other/inotifyd.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/inotifyd.c')
-rw-r--r--toys/other/inotifyd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/inotifyd.c b/toys/other/inotifyd.c
index 59c9a50c..f2e11ca4 100644
--- a/toys/other/inotifyd.c
+++ b/toys/other/inotifyd.c
@@ -104,7 +104,7 @@ void inotifyd_main(void)
prog_args[1] = toybuf;
prog_args[2] = toys.optargs[event->wd];
prog_args[3] = event->len ? event->name : 0;
- xpclose(xpopen(prog_args, 0), 0);
+ xrun(prog_args);
}
if (event->mask & IN_IGNORED) {