diff options
author | Rob Landley <rob@landley.net> | 2014-09-14 12:29:44 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-09-14 12:29:44 -0500 |
commit | 360d57f843f5435a75270e54583430dcb8f62546 (patch) | |
tree | 2e043033414a0cb03b6eb86b3b662f7ca9571788 /toys/other | |
parent | e1366f02fea3cb035cc4ed0b59d12f1962b6ebfd (diff) | |
download | toybox-360d57f843f5435a75270e54583430dcb8f62546.tar.gz |
Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether we want to redirect both, one, or neither of stdin/stdout.
Diffstat (limited to 'toys/other')
-rw-r--r-- | toys/other/inotifyd.c | 2 |
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) { |