diff options
Diffstat (limited to 'src/skaembutils/s6-env.c')
-rw-r--r-- | src/skaembutils/s6-env.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/skaembutils/s6-env.c b/src/skaembutils/s6-env.c index ce91b94..6c039ba 100644 --- a/src/skaembutils/s6-env.c +++ b/src/skaembutils/s6-env.c @@ -2,10 +2,12 @@ #include <string.h> #include <errno.h> + #include <skalibs/sgetopt.h> #include <skalibs/strerr2.h> #include <skalibs/env.h> -#include <skalibs/djbunix.h> +#include <skalibs/exec.h> + #include <s6-portable-utils/config.h> #define USAGE "s6-env [ -i ] [ name=value... ] prog..." @@ -37,5 +39,5 @@ int main (int argc, char const *const *argv, char const *const *envp) strerr_diefu1sys(111, "stralloc_cats") ; } if (!argc) argv = arg_zero ; - xpathexec_r(argv, envp, env_len(envp), modifs.s, modifs.len) ; + xmexec_em(argv, envp, modifs.s, modifs.len) ; } |