diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-22 15:48:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-22 15:48:16 +0000 |
commit | 6062586370a5a083386a8ed8e3533671c89abd73 (patch) | |
tree | 621fdc90c7842aff9b2f6935fcca3b875f891a79 /src/skaembutils/s6-nice.c | |
parent | 9f808a8c646f27ff3ca5b80d24534c0587fab559 (diff) | |
download | s6-portable-utils-6062586370a5a083386a8ed8e3533671c89abd73.tar.xz |
Convert to xpathexec ; prepare for 2.2.1.1
Diffstat (limited to 'src/skaembutils/s6-nice.c')
-rw-r--r-- | src/skaembutils/s6-nice.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/skaembutils/s6-nice.c b/src/skaembutils/s6-nice.c index 29b7ff6..3347d54 100644 --- a/src/skaembutils/s6-nice.c +++ b/src/skaembutils/s6-nice.c @@ -40,6 +40,5 @@ int main (int argc, char const *const *argv, char const *const *envp) if (strict) strerr_diefu2sys(111, "nice to ", fmt) ; else strerr_warnwu2sys("nice to ", fmt) ; } - pathexec_run(argv[0], argv, envp) ; - strerr_dieexec((errno == ENOENT) ? 127 : 126, argv[0]) ; + xpathexec_run(argv[0], argv, envp) ; } |