mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-18 20:24:04 +01:00
Merge pull request #1075 from mikedld/fix-process-signal-exit-code-test
Unmask SIGINT when testing termination by signal
This commit is contained in:
commit
87cf7d033c
@ -49,6 +49,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
else if (arg == "-raise-int")
|
||||
{
|
||||
std::signal(SIGINT, SIG_DFL);
|
||||
std::raise(SIGINT);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user