From 4dc15cd7689c01b76709d0f54663aea64fc4c85c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 23 Feb 2018 13:48:33 -0500 Subject: Return NOINPUT on execvp failure --- bin/hnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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; -- cgit 1.4.1