[systemd-commits] src/activate
David Strauss
straussd at kemper.freedesktop.org
Wed Nov 13 06:21:16 PST 2013
src/activate/activate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ed6556920c1a6cdfe0bb04e806bc1f54ea191545
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Nov 13 13:36:16 2013 +0200
activate: fix crash when -s is passed
getopt_long() was told to accept -s which was never implemented.
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 537626d..2639d1c 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -319,7 +319,7 @@ static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "+hl:saE:", options, NULL)) >= 0)
+ while ((c = getopt_long(argc, argv, "+hl:aE:", options, NULL)) >= 0)
switch(c) {
case 'h':
return help();
More information about the systemd-commits
mailing list