diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-18 21:12:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-18 21:12:29 +0000 |
commit | ea96addef47063dc6858c63f00e8e9731a31a990 (patch) | |
tree | 54385920fa087132ad7c1693164bbae40fc463a8 /src/libexecline | |
parent | c76dcbb67316020cbc3d1ddc978c1af472562e4a (diff) | |
download | execline-ea96addef47063dc6858c63f00e8e9731a31a990.tar.xz |
Adapt el_spawn1 to new child_spawn1 in skalibsv2.0.0.0
Diffstat (limited to 'src/libexecline')
-rw-r--r-- | src/libexecline/el_spawn1.c | 4 |
1 files 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) ; } |