Commit Graph

4 Commits

Author SHA1 Message Date
Tyler Stubenvoll bdd50b7910 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.
2018-07-21 13:59:10 -07:00
Stefan Bühler 80d85493ec Fix typos, s/childs/children/ and add new "--signal" option 2010-09-17 12:44:50 +02:00
Peter Weck 8c6b1945bd Reset sigmask after fork() 2010-09-17 12:41:52 +02:00
Stefan Bühler bb145f83fb Initial commit 2009-03-24 15:39:46 +01:00