summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-18 10:27:55 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-18 10:27:55 +0100
commit43f5b271e4ef845489a53e4209e7f396ad8e2813 (patch)
tree102285f69ef0fa7a7fabb85be2ee9ed1dc56869c
parent3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930 (diff)
downloadefl-43f5b271e4ef845489a53e4209e7f396ad8e2813.tar.gz
ecore - systemd - missed an ifdef for sytemd disable
-rw-r--r--src/lib/ecore/ecore_main.c2
1 files changed, 2 insertions, 0 deletions
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)
{