1
0
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:
Lennart Poettering 2012-11-15 22:47:04 +01:00
parent 8e6054f732
commit 59f432ea6d

View File

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