summary refs log tree commit diff
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
parentReturn EX_OSFILE in bri (diff)
downloadsrc-6553360469bb3a9d4dc2d07de91573bbcf5a8785.tar.gz
src-6553360469bb3a9d4dc2d07de91573bbcf5a8785.zip
Return NOINPUT on execvp failure
-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;
ohover-highlight'> Also don't fail hard on non-forward-search definitions. 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe