summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-15 12:07:47 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-15 12:07:47 +0900
commit6f955263fa76649682066adc82f12d4249d9c3d0 (patch)
tree12a8080cc87484e4051821db9911e5cd5d6b1a9c
parent5d16b3f0922cd436376d6bd27b60197e87311f75 (diff)
downloadenlightenment-6f955263fa76649682066adc82f12d4249d9c3d0.tar.gz
enlightenment: do not propagate the systemd socket to E17.
In a proper systemd user session setup, enlightenment_start will be gone. That is still not doable today and as I plan to roll more feature in EFL regarding systemd, we need to prevent enlightenment to believe it is the process started by systemd.
-rw-r--r--src/bin/e_start_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index 8b0f201a33..2c68526044 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -254,6 +254,8 @@ main(int argc, char **argv)
Eina_Bool restart = EINA_TRUE;
#endif
+ unsetenv("NOTIFY_SOCKET");
+
/* Setup USR1 to detach from the child process and let it get gdb by advanced users */
action.sa_sigaction = _sigusr1;
action.sa_flags = SA_RESETHAND;