summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-23 13:48:33 -0500
committerJune McEnroe <programble@gmail.com>2018-02-23 13:48:33 -0500
commit4dc15cd7689c01b76709d0f54663aea64fc4c85c (patch)
tree6d0b2d3eb864fa70d0d151e7060557a6b9eaf835 /bin
parentReturn EX_OSFILE in bri (diff)
downloadsrc-4dc15cd7689c01b76709d0f54663aea64fc4c85c.tar.gz
src-4dc15cd7689c01b76709d0f54663aea64fc4c85c.zip
Return NOINPUT on execvp failure
Diffstat (limited to '')
-rw-r--r--bin/hnel.c2
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;