Fix per mikedld on the trap '' SIGINT issue when using bash wait.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-10 19:30:51 +01:00
parent 5fbe817b96
commit df5d63f1ef

View File

@ -49,6 +49,7 @@ int main(int argc, char** argv)
} }
else if (arg == "-raise-int") else if (arg == "-raise-int")
{ {
std::signal(SIGINT, SIG_DFL);
std::raise(SIGINT); std::raise(SIGINT);
} }
} }