aboutsummaryrefslogtreecommitdiffstats
path: root/src/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal.cpp')
-rw-r--r--src/signal.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 5588cc85..f6aff819 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -27,6 +27,7 @@
*/
#include <csetjmp>
+#include <iostream>
#include "GpgFrontend.h"
@@ -52,8 +53,8 @@ void handle_signal(int sig) {
_repeat_handle_num = 1, last_sig = sig;
if (_repeat_handle_num > 3) {
- std::cout << "The same signal appears three times,"
- << "execute the termination operation." << sig;
+ std::cout << "The same signal appears three times,"
+ << "execute the termination operation." << sig;
exit(-1);
}