diff options
author | June McEnroe <june@causal.agency> | 2018-02-23 13:48:33 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-02-23 13:48:33 -0500 |
commit | 6553360469bb3a9d4dc2d07de91573bbcf5a8785 (patch) | |
tree | 449bb0abf2ff03357ca050823b34fd74a8a552d1 /bin | |
parent | Return EX_OSFILE in bri (diff) | |
download | src-6553360469bb3a9d4dc2d07de91573bbcf5a8785.tar.gz src-6553360469bb3a9d4dc2d07de91573bbcf5a8785.zip |
Return NOINPUT on execvp failure
Diffstat (limited to 'bin')
-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 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; |