]> err.no Git - systemd/commitdiff
install: properly parse --realize=reload
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Jul 2010 21:05:59 +0000 (23:05 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Jul 2010 21:43:16 +0000 (23:43 +0200)
src/install.c

index a05002d073e805ab1b11e3f693d07963fd47903c..2c57c9b607510b9207733188bd579f99e9cc0e3e 100644 (file)
@@ -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;