shell: Fix return value if the systemd unit is actually successfully run

This got broken by last minute changes in commit 2d56395921. There's no change
too simple.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1242
This commit is contained in:
Carlos Garnacho 2020-05-08 19:10:48 +02:00 committed by Florian Müllner
parent 57e67e0f31
commit e8ae2ea432

View File

@ -699,6 +699,7 @@ shell_util_systemd_call (const char *command,
-1, NULL, -1, NULL,
on_systemd_call_cb, on_systemd_call_cb,
(gpointer) command); (gpointer) command);
return TRUE;
#endif /* HAVE_SYSTEMD */ #endif /* HAVE_SYSTEMD */
return FALSE; return FALSE;