about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-03-08 09:50:45 +0100
committerMichael Biebl <biebl@debian.org>2022-03-08 09:50:45 +0100
commitf2604e859d9e66eb585d75c53f75f701cd5cc5c0 (patch)
treedda2d88b9f618482a00673c5162e0a602e4dad21
parent21f50d71c2a318959eb9c2e7b4b0ab41b97c3dd8 (diff)
Downgrade log message to info if we fail to open /run/network/ifstate
-rw-r--r--debian/patches/Force-online-state-with-unmanaged-devices.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/Force-online-state-with-unmanaged-devices.patch b/debian/patches/Force-online-state-with-unmanaged-devices.patch
index f4ff69b3..4765891f 100644
--- a/debian/patches/Force-online-state-with-unmanaged-devices.patch
+++ b/debian/patches/Force-online-state-with-unmanaged-devices.patch
@@ -12,7 +12,7 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512286
  1 file changed, 115 insertions(+)
 
 diff --git a/src/core/nm-manager.c b/src/core/nm-manager.c
-index 6c73d23..d12357c 100644
+index 6c73d23..9a73a16 100644
 --- a/src/core/nm-manager.c
 +++ b/src/core/nm-manager.c
 @@ -51,6 +51,8 @@
@@ -88,7 +88,7 @@ index 6c73d23..d12357c 100644
 +
 +    channel = g_io_channel_new_file(IFUPDOWN_STATE_FILE, "r", NULL);
 +    if (!channel) {
-+        nm_log_warn(LOGD_CORE, "Error: failed to open %s", IFUPDOWN_STATE_FILE);
++        nm_log_info(LOGD_CORE, "failed to open %s", IFUPDOWN_STATE_FILE);
 +        return;
 +    }
 +