hostnamectl: fix parsing of --no-ask-password

This commit is contained in:
Lennart Poettering
2012-11-15 23:07:25 +01:00
parent 8e6054f732
commit 59f432ea6d
+4
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;