From 5940b072fd80ced9aa2991f9193ea653aced0d9a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 30 Apr 2021 20:04:26 -0400 Subject: palaver: Exit on getopt failure Oops. --- extra/palaver/notify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/extra/palaver/notify.c b/extra/palaver/notify.c index 67d416c..c6a745c 100644 --- a/extra/palaver/notify.c +++ b/extra/palaver/notify.c @@ -708,6 +708,7 @@ int main(int argc, char *argv[]) { break; case 'u': user = optarg; break; case 'v': verbose = true; break; case 'w': pass = optarg; + break; default: return EX_USAGE; } } if (optind == argc) errx(EX_USAGE, "host required"); -- cgit 1.4.1