Initialise sa_flags
This commit is contained in:
parent
d33612721e
commit
39483b6197
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ bool CSignalUnix::setSignalHandled ( int sigNum, bool state )
|
||||||
if ( state )
|
if ( state )
|
||||||
{
|
{
|
||||||
sa.sa_handler = CSignalUnix::signalHandler;
|
sa.sa_handler = CSignalUnix::signalHandler;
|
||||||
sa.sa_flags |= SA_RESTART;
|
sa.sa_flags = SA_RESTART;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue