]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
activate: fix -E option parsing 2662/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Feb 2016 02:54:31 +0000 (21:54 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Feb 2016 02:54:31 +0000 (21:54 -0500)
Fixes #2658.

src/activate/activate.c

index 23244fdc62a7bc0ccfca167fd9d885162b2a6ef3..d6e2d07ff2fc146b5539ab1837aaea2025900410 100644 (file)
@@ -385,7 +385,7 @@ static int parse_argv(int argc, char *argv[]) {
         assert(argc >= 0);
         assert(argv);
 
-        while ((c = getopt_long(argc, argv, "+hl:aEd", options, NULL)) >= 0)
+        while ((c = getopt_long(argc, argv, "+hl:aE:d", options, NULL)) >= 0)
                 switch(c) {
                 case 'h':
                         help();