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
1 changed files with 4 additions and 0 deletions

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;