diff options
author | June McEnroe <programble@gmail.com> | 2018-02-23 13:48:33 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-02-23 13:48:33 -0500 |
commit | 4dc15cd7689c01b76709d0f54663aea64fc4c85c (patch) | |
tree | 6d0b2d3eb864fa70d0d151e7060557a6b9eaf835 /bin | |
parent | Return EX_OSFILE in bri (diff) | |
download | src-4dc15cd7689c01b76709d0f54663aea64fc4c85c.tar.gz src-4dc15cd7689c01b76709d0f54663aea64fc4c85c.zip |
Return NOINPUT on execvp failure
Diffstat (limited to '')
-rw-r--r-- | bin/hnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hnel.c b/bin/hnel.c index 3cd83588..81879429 100644 --- a/bin/hnel.c +++ b/bin/hnel.c @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { if (!pid) { execvp(argv[3], &argv[3]); - err(EX_NOPERM, "%s", argv[3]); + err(EX_NOINPUT, "%s", argv[3]); } bool enable = true; |