]> err.no Git - systemd/commitdiff
ask-password: ignore unknown query file fields
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 02:05:03 +0000 (03:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 02:05:03 +0000 (03:05 +0100)
src/tty-ask-password-agent.c

index 8a6e3d331ede5025e01040917f3c3b8f14ddbf8c..8b02b269592d67d68e45d020023a3e057440cde3 100644 (file)
@@ -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;
         }