Skip to content

Commit

Permalink
main: send HUP instead of KILL.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Jun 6, 2016
1 parent 7c697b6 commit be09fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/main.lua
Expand Up @@ -58,7 +58,7 @@ function main ()
S.sigprocmask("block", exit_signals)
local signals, err = S.util.signalfd_read(signalfd)
assert(signals, tostring(err))
if not signals[1].chld then S.kill(worker_pid, "kill") end
if not signals[1].chld then S.kill(worker_pid, "hup") end
shutdown(S.getpid())
end
end
Expand Down

0 comments on commit be09fe5

Please sign in to comment.