From: Lennart Poettering Date: Fri, 12 Nov 2010 02:05:03 +0000 (+0100) Subject: ask-password: ignore unknown query file fields X-Git-Tag: v12~50 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656ce8f77a840b7615180de4d63c4fc29b40cc47;p=systemd ask-password: ignore unknown query file fields --- diff --git a/src/tty-ask-password-agent.c b/src/tty-ask-password-agent.c index 8a6e3d33..8b02b269 100644 --- a/src/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent.c @@ -231,7 +231,7 @@ static int parse_password(const char *filename, char **wall) { return -errno; } - if ((r = config_parse(filename, f, NULL, items, false, NULL)) < 0) { + if ((r = config_parse(filename, f, NULL, items, true, NULL)) < 0) { log_error("Failed to parse password file %s: %s", filename, strerror(-r)); goto finish; }