ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
b9a53a
From 3bbacfb22a9266769a41dee6f8f594fbeb6287fc Mon Sep 17 00:00:00 2001
b9a53a
From: Lennart Poettering <lennart@poettering.net>
b9a53a
Date: Mon, 21 Jan 2019 20:19:57 +0100
b9a53a
Subject: [PATCH] cryptsetup: downgrade a log message we ignore
b9a53a
b9a53a
(cherry picked from commit 44ce4255147ab308c1f13580147c693204c322e8)
b9a53a
b9a53a
Related: #1776408
b9a53a
---
b9a53a
 src/cryptsetup/cryptsetup.c | 2 +-
b9a53a
 1 file changed, 1 insertion(+), 1 deletion(-)
b9a53a
b9a53a
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c
b9a53a
index f2b2557497..53fe04a73f 100644
b9a53a
--- a/src/cryptsetup/cryptsetup.c
b9a53a
+++ b/src/cryptsetup/cryptsetup.c
b9a53a
@@ -621,7 +621,7 @@ int main(int argc, char *argv[]) {
b9a53a
                     !streq(argv[4], "none")) {
b9a53a
 
b9a53a
                         if (!path_is_absolute(argv[4]))
b9a53a
-                                log_error("Password file path '%s' is not absolute. Ignoring.", argv[4]);
b9a53a
+                                log_warning("Password file path '%s' is not absolute. Ignoring.", argv[4]);
b9a53a
                         else
b9a53a
                                 key_file = argv[4];
b9a53a
                 }