chiark / gitweb /
systemctl: support force-reload and condrestart as aliases for reload-or-try-restart
[elogind.git] / src / install.c
index 751d52b6480ade3b7d5f90b7dad105a34d9cda17..2d6316aa8fbb17034b9091b3cc0b7b248acec93b 100644 (file)
@@ -156,7 +156,7 @@ static int parse_argv(int argc, char *argv[]) {
                         realize_switch = true;
 
                         if (!optarg)
-                                arg_realize = REALIZE_MAYBE;
+                                arg_realize = REALIZE_MINIMAL;
                         else if (streq(optarg, "no"))
                                 arg_realize = REALIZE_NO;
                         else if (streq(optarg, "minimal"))
@@ -206,7 +206,7 @@ static int parse_argv(int argc, char *argv[]) {
                 arg_action = ACTION_REALIZE;
 
                 if (!realize_switch)
-                        arg_realize = REALIZE_MAYBE;
+                        arg_realize = REALIZE_MINIMAL;
         } else {
                 log_error("Unknown verb %s.", argv[optind]);
                 return -EINVAL;