Skip to content

Work #63

Merged
merged 20 commits into from
Jul 6, 2017
Merged

Work #63

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
mxqd: Remove obsolete signal() calls in reaper
Now hat all signals are blocked, we don't need to ignore them.
donald committed Jul 5, 2017
commit 721974391f6424f40edcd4ee079cf80515902a88
6 changes: 0 additions & 6 deletions mxqd.c
Original file line number Diff line number Diff line change
@@ -1061,12 +1061,6 @@ int reaper_process(struct mxq_server *server,struct mxq_group_list *glist, struc

reset_signals();

signal(SIGINT, SIG_IGN);
signal(SIGTERM, SIG_IGN);
signal(SIGQUIT, SIG_IGN);
signal(SIGHUP, SIG_IGN);
signal(SIGXCPU, SIG_IGN);

res = setsid();
if (res < 0) {
mx_log_warning("reaper_process setsid: %m");