From 85e5760d4ffe99d578caf085ca0608b2bb2d4889 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 23 Jul 2010 05:24:24 +0200 Subject: [PATCH] install: default to minimal realization mode --- man/systemd-install.xml | 4 ++-- src/install.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/systemd-install.xml b/man/systemd-install.xml index 47dc63a61..228a91699 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 751d52b64..2d6316aa8 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; -- 2.30.2