From 360d57f843f5435a75270e54583430dcb8f62546 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 14 Sep 2014 12:29:44 -0500 Subject: Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether we want to redirect both, one, or neither of stdin/stdout. --- toys/other/inotifyd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other') 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) { -- cgit v1.2.3