Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
gdm.2185
gdm-handle-shutdown-at-startup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-handle-shutdown-at-startup.patch of Package gdm.2185
diff -urp gdm-3.10.0.1.orig/daemon/gdm-simple-slave.c gdm-3.10.0.1/daemon/gdm-simple-slave.c --- gdm-3.10.0.1.orig/daemon/gdm-simple-slave.c 2016-03-02 12:47:21.574774069 -0600 +++ gdm-3.10.0.1/daemon/gdm-simple-slave.c 2016-03-02 13:37:00.222729902 -0600 @@ -1457,6 +1457,15 @@ on_accountsservice_ready (GObject GError *local_error = NULL; slave->priv->accountsservice_proxy = g_dbus_proxy_new_for_bus_finish (result, &local_error); + + if (local_error) + { + gchar *name = g_dbus_error_get_remote_error (local_error); + if (!g_strcmp0 (name, "org.freedesktop.systemd1.ShuttingDown")) + exit (0); + g_free (name); + } + if (!slave->priv->accountsservice_proxy) { g_error ("Failed to contact accountsservice: %s", local_error->message); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor