opendoas

A portable version of the OpenBSD `doas` command
git clone https://pi.duncano.de/git/opendoas.git
Log | Files | Refs | README | LICENSE

commit 6ed45e5ffe674eae211814a9c4cfdba38f62ebdc
parent 03b7619e47e684f240da58fb8ea93edccfee6c98
Author: Duncaen <mail@duncano.de>
Date:   Thu, 30 Jun 2016 01:33:08 +0200

use posix correct optstring

Diffstat:
doas.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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) {