summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-22 16:34:39 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-24 15:20:53 +0100
commitafd1a45a163eb0e50b7a3ff74376ff97392e9192 (patch)
treedb2eaa4d479b7803d37f9ca9d85ce8a3c280a42e /src/basic
parent83fe0be1706c453f2f9d6be5259031a70021f610 (diff)
downloadsystemd-afd1a45a163eb0e50b7a3ff74376ff97392e9192.tar.gz
efivars: downgrade log level in systemd_efi_options_efivarfs_if_newer()
The only caller logs anyway, let's avoid duplicate logging above LOG_DEBUG.
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/efivars.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/efivars.c b/src/basic/efivars.c
index 92b11cb2c5..4dc9dbba6a 100644
--- a/src/basic/efivars.c
+++ b/src/basic/efivars.c
@@ -439,7 +439,8 @@ int systemd_efi_options_efivarfs_if_newer(char **line) {
r = read_efi_options_variable(line);
if (r < 0)
- return log_warning_errno(r, "Failed to read SystemdOptions EFI variable: %m");
+ return log_debug_errno(r, "Failed to read SystemdOptions EFI variable: %m");
+
return 0;
}
#endif