From 59f432ea6d6d441d0af7c76c37e80730c8df473a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Nov 2012 22:47:04 +0100 Subject: [PATCH] hostnamectl: fix parsing of --no-ask-password --- src/hostname/hostnamectl.c | 4 ++++ 1 file changed, 4 insertions(+) Index: systemd-195/src/hostname/hostnamectl.c =================================================================== --- systemd-195.orig/src/hostname/hostnamectl.c +++ systemd-195/src/hostname/hostnamectl.c @@ -402,6 +402,10 @@ static int parse_argv(int argc, char *ar arg_set_static = true; break; + case ARG_NO_ASK_PASSWORD: + arg_ask_password = false; + break; + case '?': return -EINVAL;