ecore - systemd - missed an ifdef for sytemd disable

This commit is contained in:
Carsten Haitzler 2020-05-18 10:27:55 +01:00
parent 3ade45cbc8
commit 43f5b271e4
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{