aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTyler Stubenvoll <tstubenv@fastmail.fm>2018-07-21 13:59:10 -0700
committerTyler Stubenvoll <tstubenv@fastmail.fm>2018-07-21 13:59:10 -0700
commitbdd50b7910ebfd04f70e39cb688e3a4851505ac4 (patch)
tree1078a618b47b6488cfcffcf1d143705ec89cc322 /autogen.sh
parentd3a960fbe01b237850379dcfe9f3dc6d638c39a2 (diff)
downloadmultiwatch-bdd50b7910ebfd04f70e39cb688e3a4851505ac4.tar.gz
multiwatch-bdd50b7910ebfd04f70e39cb688e3a4851505ac4.zip
Taught multiwatch to send the correct signal when using --signal
When the --signal flag was enabled, multiwatch was sending the index of signal in the sig_actions array instead of the correct signal number. So, when multiwatch was told to send a SIGTERM, the application was actually being sent a SIGQUIT, which caused the application to coredump as ordered. The fix is to change the loop to return the signal number stored at the index.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions