summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-23 05:24:24 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-23 05:24:24 +0200
commit85e5760d4ffe99d578caf085ca0608b2bb2d4889 (patch)
tree6149f201bcf41c5283efb365e5b24914999503a0
parentea4a240dc2e70adcb39704542b1422b1608e76e6 (diff)
install: default to minimal realization 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;