summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skaembutils/s6-nice.c')
-rw-r--r--src/skaembutils/s6-nice.c3
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) ;
}