From: Zbigniew Jędrzejewski-Szmek Date: Fri, 19 Feb 2016 02:54:31 +0000 (-0500) Subject: activate: fix -E option parsing X-Git-Tag: v230~343^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2662%2Fhead;p=thirdparty%2Fsystemd.git activate: fix -E option parsing Fixes #2658. --- diff --git a/src/activate/activate.c b/src/activate/activate.c index 23244fdc62a..d6e2d07ff2f 100644 --- a/src/activate/activate.c +++ b/src/activate/activate.c @@ -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();