chiark / gitweb /
activate: fix crash when -s is passed
[elogind.git] / src / activate / activate.c
index 537626d390c3e47d22c56a56f7ab02df281561a6..2639d1cd53b4a08b9e989696d19fad1aa2975d28 100644 (file)
@@ -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();