install: properly parse --realize=reload

This commit is contained in:
Lennart Poettering 2010-07-09 23:05:59 +02:00
parent f8e1755297
commit 71a6f75381

View 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;