From 482f9e0ba702a9093e7ab53f59197f3bce6e0186 Mon Sep 17 00:00:00 2001 From: David Shen <2984600+pantherman594@users.noreply.github.com> Date: Wed, 28 Aug 2019 02:54:10 -0400 Subject: [PATCH] Unset _I3_RESTART_FD after restart (#3775) Closes #3764 Closes #3765 --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 7ba12bd9..c76f9ecc 100644 --- a/src/main.c +++ b/src/main.c @@ -867,6 +867,7 @@ int main(int argc, char *argv[]) { DLOG("serving restart fd %d", restart_fd); ipc_client *client = ipc_new_client_on_fd(main_loop, restart_fd); ipc_confirm_restart(client); + unsetenv("_I3_RESTART_FD"); } }