mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-19 21:16:37 +07:00
install: properly parse --realize=reload
This commit is contained in:
parent
f8e1755297
commit
71a6f75381
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user