fixed: also catch SIGTERM
This commit is contained in:
parent
5c647e4c8f
commit
c9db160bc4
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ CAmpSwitch::~CAmpSwitch()
|
|||
bool CAmpSwitch::Setup()
|
||||
{
|
||||
signal(SIGINT, SignalHandler);
|
||||
signal(SIGINT, SignalHandler);
|
||||
signal(SIGTERM, SignalHandler);
|
||||
|
||||
if (pipe2(m_pipe, O_NONBLOCK) == -1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue