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 a05002d..2c57c9b 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;