aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-06-30 01:33:08 +0200
committerDuncaen <mail@duncano.de>2016-06-30 01:33:08 +0200
commit6ed45e5ffe674eae211814a9c4cfdba38f62ebdc (patch)
tree132f8c9a1ea748f2d34782240742bed25531b899
parent03b7619e47e684f240da58fb8ea93edccfee6c98 (diff)
downloadopendoas-6ed45e5ffe674eae211814a9c4cfdba38f62ebdc.tar.gz
use posix correct optstring
-rw-r--r--doas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doas.c b/doas.c
index c1b822b..05d2b93 100644
--- a/doas.c
+++ b/doas.c
@@ -256,7 +256,7 @@ main(int argc, char **argv)
#ifdef HAVE_BSD_AUTH_H
# define OPTSTRING "a:C:nsu:v"
#else
-# define OPTSTRING "C:nsu:v"
+# define OPTSTRING "+C:nsu:v"
#endif
while ((ch = getopt(argc, argv, OPTSTRING)) != -1) {