From: Lennart Poettering Date: Tue, 22 Mar 2022 15:34:39 +0000 (+0100) Subject: efivars: downgrade log level in systemd_efi_options_efivarfs_if_newer() X-Git-Tag: v251-rc1~40^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afd1a45a163eb0e50b7a3ff74376ff97392e9192;p=thirdparty%2Fsystemd.git efivars: downgrade log level in systemd_efi_options_efivarfs_if_newer() The only caller logs anyway, let's avoid duplicate logging above LOG_DEBUG. --- diff --git a/src/basic/efivars.c b/src/basic/efivars.c index 92b11cb2c57..4dc9dbba6a9 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