summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-09 23:05:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-09 23:43:16 +0200
commit71a6f7538199f571b92e0c9fbb5819f8ce0e0d20 (patch)
treec3d5badfa08fef2aceae70becb600a744d7c7b29 /src/install.c
parentf8e1755297387e2969a902be22ee201cc506efa2 (diff)
install: properly parse --realize=reload
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/install.c b/src/install.c
index a05002d073..2c57c9b607 100644
--- a/src/install.c
+++ b/src/install.c
@@ -148,6 +148,8 @@ static int parse_argv(int argc, char *argv[]) {
arg_realize = REALIZE_MAYBE;
else if (streq(optarg, "yes"))
arg_realize = REALIZE_YES;
+ else if (streq(optarg, "reload"))
+ arg_realize = REALIZE_RELOAD;
else {
log_error("Invalid --realize argument %s", optarg);
return -EINVAL;