diff options
Diffstat (limited to 'src/libenvexec/xexec0_ae.c')
-rw-r--r-- | src/libenvexec/xexec0_ae.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libenvexec/xexec0_ae.c b/src/libenvexec/xexec0_ae.c new file mode 100644 index 0000000..f0bd39c --- /dev/null +++ b/src/libenvexec/xexec0_ae.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <unistd.h> + +#include <skalibs/exec.h> + +void xexec0_ae (char const *file, char const *const *argv, char const *const *envp) +{ + if (!argv[0]) _exit(0) ; + xexec_ae(file, argv, envp) ; +} |