Skip to content

Commit 0f754df

Browse files
committed
manager: Don't error-out on logind communication failure
Closes #400.
1 parent 6561790 commit 0f754df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gpm-manager.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ gpm_manager_systemd_inhibit (GDBusProxy *proxy) {
17511751
&error );
17521752
//append all our arguments
17531753
if (proxy == NULL) {
1754-
g_error ("Error connecting to dbus - %s", error->message);
1754+
g_warning ("Error connecting to dbus - %s", error->message);
17551755
g_error_free (error);
17561756
return -1;
17571757
}
@@ -1770,7 +1770,7 @@ gpm_manager_systemd_inhibit (GDBusProxy *proxy) {
17701770
&error
17711771
);
17721772
if (error != NULL) {
1773-
g_error ("Error in dbus - %s", error->message);
1773+
g_warning ("Error in dbus - %s", error->message);
17741774
g_error_free (error);
17751775
return -EIO;
17761776
}

0 commit comments

Comments
 (0)