summaryrefslogtreecommitdiff
path: root/src/execline/heredoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/execline/heredoc.c')
-rw-r--r--src/execline/heredoc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/execline/heredoc.c b/src/execline/heredoc.c
index 77e69da..d28d765 100644
--- a/src/execline/heredoc.c
+++ b/src/execline/heredoc.c
@@ -55,6 +55,5 @@ int main (int argc, char const *const *argv, char const *const *envp)
if (fd_move(fdr, fd[0]) == -1)
strerr_diefu2sys(111, "read on fd ", argv[0]) ;
}
- pathexec_run(argv[2], argv+2, envp) ;
- strerr_dieexec(111, argv[2]) ;
+ xpathexec_run(argv[2], argv+2, envp) ;
}