From: Lennart Poettering Date: Tue, 6 Dec 2016 18:35:31 +0000 (+0100) Subject: machinectl: make "machinectl -E … shell" work X-Git-Tag: v233~311^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61f638e5446d0d4a5b5e7f81c174e4f072bd01f7;p=thirdparty%2Fsystemd.git machinectl: make "machinectl -E … shell" work Fixes: #4823 --- diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 3294ea7821f..36c2607ba9f 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -2769,7 +2769,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argv); for (;;) { - static const char option_string[] = "-hp:als:H:M:qn:o:"; + static const char option_string[] = "-hp:als:H:M:qn:o:E:"; c = getopt_long(argc, argv, option_string + reorder, options, NULL); if (c < 0)