diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-28 12:38:56 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-28 12:38:56 +0000 |
commit | 1f7a397ea589f31ab8e8eed72ebc2933ddb229a9 (patch) | |
tree | cb4e418146839514fbca2f805a7a4e4ee3918324 /src/supervision/s6-permafailon.c | |
parent | bdef68e12278ddfc5080732bd3b28dd5135c9d3a (diff) | |
download | s6-1f7a397ea589f31ab8e8eed72ebc2933ddb229a9.tar.xz |
Adapt to new exec.h
Diffstat (limited to 'src/supervision/s6-permafailon.c')
-rw-r--r-- | src/supervision/s6-permafailon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/supervision/s6-permafailon.c b/src/supervision/s6-permafailon.c index 1a9d68e..3912691 100644 --- a/src/supervision/s6-permafailon.c +++ b/src/supervision/s6-permafailon.c @@ -9,7 +9,7 @@ #include <skalibs/bitarray.h> #include <skalibs/sig.h> #include <skalibs/tai.h> -#include <skalibs/djbunix.h> +#include <skalibs/exec.h> #include <s6/s6-supervise.h> @@ -59,7 +59,7 @@ static inline void list_scan (char const *s, unsigned char *codes, sigset_t *sig } } -int main (int argc, char const *const *argv, char const *const *envp) +int main (int argc, char const *const *argv) { unsigned char codes[32] ; sigset_t sigs ; @@ -122,5 +122,5 @@ int main (int argc, char const *const *argv, char const *const *envp) } cont: - xpathexec0_run(argv + 4, envp) ; + xexec0(argv+4) ; } |