diff options
Diffstat (limited to 'src/execline/ifte.c')
-rw-r--r-- | src/execline/ifte.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/execline/ifte.c b/src/execline/ifte.c index 786621c..d263a4a 100644 --- a/src/execline/ifte.c +++ b/src/execline/ifte.c @@ -1,10 +1,13 @@ /* ISC license. */ #include <sys/wait.h> + #include <skalibs/sgetopt.h> #include <skalibs/types.h> #include <skalibs/strerr2.h> #include <skalibs/djbunix.h> +#include <skalibs/exec.h> + #include <execline/execline.h> #define USAGE "ifte [ -X ] [ -n ] { command-then... } { command-else... } command-if..." @@ -53,5 +56,5 @@ int main (int argc, char const **argv, char const *const *envp) argv[argc2] = 0 ; } else argv[argc1] = 0 ; - xpathexec0_run(argv, envp) ; + xexec0_e(argv, envp) ; } |