summaryrefslogtreecommitdiff
path: root/src/libexecline
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexecline')
-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) ;
}