diff options
Diffstat (limited to 'src/libstddjb/xpathexec0.c')
-rw-r--r-- | src/libstddjb/xpathexec0.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstddjb/xpathexec0.c b/src/libstddjb/xpathexec0.c index c9c2c74..ed0848c 100644 --- a/src/libstddjb/xpathexec0.c +++ b/src/libstddjb/xpathexec0.c @@ -1,10 +1,12 @@ /* ISC license. */ +#include <errno.h> + #include <skalibs/djbunix.h> #include <skalibs/strerr2.h> void xpathexec0 (char const *const *argv) { pathexec0(argv) ; - strerr_dieexec(111, argv[0]) ; + strerr_dieexec(errno == ENOENT ? 127 : 126, argv[0]) ; } |