[gnome-shell/wip/carlosg/fix-the-fix] shell: Fix return value if the systemd is actually successfully run



commit 25b5f6aabdbc24e5ad1e446f73e321f3ff9daa4a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri May 8 19:10:48 2020 +0200

    shell: Fix return value if the systemd 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

 src/shell-util.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/shell-util.c b/src/shell-util.c
index dd6d312f49..dd9be51a3d 100644
--- a/src/shell-util.c
+++ b/src/shell-util.c
@@ -713,6 +713,7 @@ shell_util_systemd_call (const char  *command,
                           -1, NULL,
                           on_systemd_call_cb,
                           (gpointer) command);
+  return TRUE;
 #endif /* HAVE_SYSTEMD */
 
   return FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]