Set control_socket_open false when closing the socket.
authorDavin McCall <davmac@davmac.org>
Fri, 26 Oct 2018 09:25:07 +0000 (10:25 +0100)
committerDavin McCall <davmac@davmac.org>
Fri, 26 Oct 2018 09:25:07 +0000 (10:25 +0100)
commit523a86eaa3826c74482ff1c3a7dac7151b75a3dc
tree45f3f5d23594b00a8768c69c87b661ff95fcd311
parent035e35da8af47bde9032eed505d5295c7e76e86d
Set control_socket_open false when closing the socket.

If we booted to single-user mode, we close the socket once it exits, so
we need to open it again. Leaving control_socket_open true means that we
don't do that, so set it false.
src/dinit.cc