raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=43f5b271e4ef845489a53e4209e7f396ad8e2813

commit 43f5b271e4ef845489a53e4209e7f396ad8e2813
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon May 18 10:27:55 2020 +0100

    ecore - systemd - missed an ifdef for sytemd disable
---
 src/lib/ecore/ecore_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index 2e404a4d2d..78438b336e 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -1191,11 +1191,13 @@ _ecore_main_loop_begin(Eo *obj, Efl_Loop_Data *pd)
    pd->loop_active++;
    if (obj == ML_OBJ)
      {
+#ifdef HAVE_SYSTEMD
         if (getenv("NOTIFY_SOCKET"))
           {
              _ecore_sd_init();
              if (_ecore_sd_notify) _ecore_sd_notify(0, "READY=1");
           }
+#endif
 #ifdef HAVE_LIBUV
         if (!_dl_uv_run)
           {

-- 


Reply via email to