chiark / gitweb /
install: default to minimal realization mode
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 03:24:24 +0000 (05:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 03:24:24 +0000 (05:24 +0200)
man/systemd-install.xml
src/install.c

index 47dc63a..228a916 100644 (file)
                                 <option>--realize</option> is
                                 specifieed but the mode value is
                                 omitted defaults to
-                                <option>maybe</option>. This option
+                                <option>minimal</option>. This option
                                 has no effect when
                                 <option>--global</option> or
                                 <command>test</command> is used, or
                                 <option>--realize</option>. If
                                 <option>--realize</option> is not
                                 specified implies
-                                <option>maybe</option> mode. To
+                                <option>minimal</option> mode. To
                                 override this mode specify
                                 <option>--realize=</option> in
                                 addition to
index 751d52b..2d6316a 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;