summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/systemd-install.xml4
-rw-r--r--src/install.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/man/systemd-install.xml b/man/systemd-install.xml
index 47dc63a615..228a916999 100644
--- a/man/systemd-install.xml
+++ b/man/systemd-install.xml
@@ -185,7 +185,7 @@
<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
@@ -258,7 +258,7 @@
<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
diff --git a/src/install.c b/src/install.c
index 751d52b648..2d6316aa8f 100644
--- a/src/install.c
+++ b/src/install.c
@@ -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;