From efe84764b0f34fa83bca018031980b50d528a3c8 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 5c86a21e..d7d9216a 100644 --- a/src/main.c +++ b/src/main.c @@ -868,6 +868,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"); } }