mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
hostnamectl: fix parsing of --no-ask-password
This commit is contained in:
parent
8e6054f732
commit
59f432ea6d
@ -403,6 +403,10 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
arg_set_static = true;
|
||||
break;
|
||||
|
||||
case ARG_NO_ASK_PASSWORD:
|
||||
arg_ask_password = false;
|
||||
break;
|
||||
|
||||
case '?':
|
||||
return -EINVAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user