summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <halfline@gmail.com>2020-04-28 17:51:03 +0000
committerRay Strode <halfline@gmail.com>2020-04-28 17:51:03 +0000
commitde884de7b69647bead3081222aa1c2be443e351f (patch)
treec3162401eb54866faf328b67aa999a04e80159b9
parent0284f09078b84cdb40ae2a46fcb36ee8dab4ba47 (diff)
parent87c29ca513bd40ba97751b2c8abd51f43cd1dabc (diff)
downloadgdm-de884de7b69647bead3081222aa1c2be443e351f.tar.gz
Merge branch 'master' into 'master'
gdm-manager: Make sure the Plymouth client exist before we use it. See merge request GNOME/gdm!89
-rw-r--r--daemon/gdm-manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index d8dfa843..efcce9b6 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -148,7 +148,7 @@ plymouth_is_running (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_sync ("/bin/plymouth --ping",
+ res = g_spawn_command_line_sync ("plymouth --ping",
NULL, NULL, &status, &error);
if (! res) {
g_debug ("Could not ping plymouth: %s", error->message);
@@ -166,7 +166,7 @@ plymouth_prepare_for_transition (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_sync ("/bin/plymouth deactivate",
+ res = g_spawn_command_line_sync ("plymouth deactivate",
NULL, NULL, NULL, &error);
if (! res) {
g_warning ("Could not deactivate plymouth: %s", error->message);
@@ -181,7 +181,7 @@ plymouth_quit_with_transition (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_async ("/bin/plymouth quit --retain-splash", &error);
+ res = g_spawn_command_line_async ("plymouth quit --retain-splash", &error);
if (! res) {
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);
@@ -197,7 +197,7 @@ plymouth_quit_without_transition (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_async ("/bin/plymouth quit", &error);
+ res = g_spawn_command_line_async ("plymouth quit", &error);
if (! res) {
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);