summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-23 13:48:33 -0500
committerJune McEnroe <june@causal.agency>2018-02-23 13:48:33 -0500
commit6553360469bb3a9d4dc2d07de91573bbcf5a8785 (patch)
tree449bb0abf2ff03357ca050823b34fd74a8a552d1 /bin
parentReturn EX_OSFILE in bri (diff)
downloadsrc-6553360469bb3a9d4dc2d07de91573bbcf5a8785.tar.gz
src-6553360469bb3a9d4dc2d07de91573bbcf5a8785.zip
Return NOINPUT on execvp failure
Diffstat (limited to 'bin')
-rw-r--r--bin/hnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hnel.c b/bin/hnel.c
index 1f98c157..40ab7bbc 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;