From ea96addef47063dc6858c63f00e8e9731a31a990 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Dec 2014 21:12:29 +0000 Subject: Adapt el_spawn1 to new child_spawn1 in skalibs --- src/libexecline/el_spawn1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libexecline/el_spawn1.c b/src/libexecline/el_spawn1.c index 4785b92..f84b10a 100644 --- a/src/libexecline/el_spawn1.c +++ b/src/libexecline/el_spawn1.c @@ -9,7 +9,7 @@ pid_t el_spawn1 (char const *prog, char const *const *argv, char const *const *e if (!argv[0]) { static char const *const newargv[2] = { "/bin/true", 0 } ; - return child_spawn1(newargv[0], newargv, 0, fd, w) ; + return child_spawn1_pipe(newargv[0], newargv, 0, fd, w) ; } - else return child_spawn1(prog, argv, envp, fd, w) ; + else return child_spawn1_pipe(prog, argv, envp, fd, w) ; } -- cgit 1.4.1