X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/b1ce579c3259c3539aaa37738c08092de6f51a17..4822ee20b29ac49272f24c6298ea836049019119:/main.cpp diff --git a/main.cpp b/main.cpp index b924349..bce9749 100644 --- a/main.cpp +++ b/main.cpp @@ -1,7 +1,7 @@ #include +#include #include // strchr #include -#include #include #include #include @@ -141,7 +141,7 @@ static void signal_handler(int /*sig*/) XBT_CRITICAL(">>>>>>>>>>" " caught CTRL-C: global exit requested " "<<<<<<<<<<"); - opt::exit_request = true; + opt::exit_request = 1; } else { XBT_CRITICAL(">>>>>>>>>>" " caught CTRL-C for the 2nd time: exit immediately "