[gnome-settings-daemon] power: Fix checking for systemd support in gnome-session



commit 40ba356a0a2216511128285af6247157e5c3d6c1
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 17 13:29:43 2017 +0100

    power: Fix checking for systemd support in gnome-session
    
    There isn't a separate libsystemd-logind library anymore, so correct
    that check.

 plugins/power/test.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 0399503..cf3bf57 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -190,7 +190,7 @@ class PowerPluginTest(gsdtestcase.GSDTestCase):
         path = new_path
         ldd = subprocess.Popen(['ldd', path], stdout=subprocess.PIPE)
         out = ldd.communicate()[0]
-        if not 'libsystemd-login.so.0' in out:
+        if not 'libsystemd.so.0' in out:
             self.fail('gnome-session is not built with logind support')
 
     def get_status(self):


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