summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-18 21:12:29 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-18 21:12:29 +0000
commitea96addef47063dc6858c63f00e8e9731a31a990 (patch)
tree54385920fa087132ad7c1693164bbae40fc463a8 /src
parentc76dcbb67316020cbc3d1ddc978c1af472562e4a (diff)
downloadexecline-ea96addef47063dc6858c63f00e8e9731a31a990.tar.xz
Adapt el_spawn1 to new child_spawn1 in skalibsv2.0.0.0
Diffstat (limited to 'src')
-rw-r--r--src/libexecline/el_spawn1.c4
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) ;
}