1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

install: default to minimal realization mode

This commit is contained in:
Lennart Poettering 2010-07-23 05:24:24 +02:00
parent ea4a240dc2
commit 85e5760d4f
2 changed files with 4 additions and 4 deletions

View File

@ -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

View 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;