Initialise sa_flags

This commit is contained in:
Peter L Jones 2020-05-31 09:02:21 +01:00
parent d33612721e
commit 39483b6197

View file

@ -169,7 +169,7 @@ bool CSignalUnix::setSignalHandled ( int sigNum, bool state )
if ( state )
{
sa.sa_handler = CSignalUnix::signalHandler;
sa.sa_flags |= SA_RESTART;
sa.sa_flags = SA_RESTART;
}
else
{