dcavalca / rpms / systemd

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