From: Lennart Poettering Date: Fri, 23 Jul 2010 03:24:24 +0000 (+0200) Subject: install: default to minimal realization mode X-Git-Tag: v4~6 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=commitdiff_plain;h=85e5760d4ffe99d578caf085ca0608b2bb2d4889 install: default to minimal realization mode --- diff --git a/man/systemd-install.xml b/man/systemd-install.xml index 47dc63a615b..228a9169990 100644 --- a/man/systemd-install.xml +++ b/man/systemd-install.xml @@ -185,7 +185,7 @@ is specifieed but the mode value is omitted defaults to - . This option + . This option has no effect when or test is used, or @@ -258,7 +258,7 @@ . If is not specified implies - mode. To + mode. To override this mode specify in addition to diff --git a/src/install.c b/src/install.c index 751d52b6480..2d6316aa8fb 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;