Skip to content

Commit

Permalink
mxqd: Remove obsolete signal() calls in reaper
Browse files Browse the repository at this point in the history
Now hat all signals are blocked, we don't need to ignore them.
  • Loading branch information
donald committed Jul 5, 2017
1 parent ff2f49f commit 7219743
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7219743

Please sign in to comment.