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/posix/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/find.c') diff --git a/toys/posix/find.c b/toys/posix/find.c index b74cb88e..9f679a02 100644 --- a/toys/posix/find.c +++ b/toys/posix/find.c @@ -102,7 +102,7 @@ static int flush_exec(struct dirtree *new, struct exec_range *aa) newargs[pos+rest] = 0; } - rc = xpclose(xpopen(newargs, 0), 0); + rc = xrun(newargs); llist_traverse(*dl, llist_free_double); *dl = 0; -- cgit v1.2.3