From 0f754df9f40b32753e03749168aaeb3d83121882 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 2 Oct 2024 12:00:21 +0200 Subject: manager: Don't error-out on logind communication failure Closes #400. --- src/gpm-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gpm-manager.c b/src/gpm-manager.c index 30cf92a..4005062 100644 --- a/src/gpm-manager.c +++ b/src/gpm-manager.c @@ -1751,7 +1751,7 @@ gpm_manager_systemd_inhibit (GDBusProxy *proxy) { &error ); //append all our arguments if (proxy == NULL) { - g_error ("Error connecting to dbus - %s", error->message); + g_warning ("Error connecting to dbus - %s", error->message); g_error_free (error); return -1; } @@ -1770,7 +1770,7 @@ gpm_manager_systemd_inhibit (GDBusProxy *proxy) { &error ); if (error != NULL) { - g_error ("Error in dbus - %s", error->message); + g_warning ("Error in dbus - %s", error->message); g_error_free (error); return -EIO; } -- cgit v1.2.1