Unset _I3_RESTART_FD after restart (#3775)

Closes #3764
Closes #3765
next
David Shen 2019-08-28 02:54:10 -04:00 committed by Michael Stapelberg
parent cddaa2c57b
commit 482f9e0ba7
1 changed files with 1 additions and 0 deletions

View File

@ -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");
}
}