Index: terminator.cc |
diff --git a/terminator.cc b/terminator.cc |
index 1d33e324e86e608e1aa7767337c2a2fb59dc1fc5..9165afb0479bd837c41c031d803dcabc27a808a1 100644 |
--- a/terminator.cc |
+++ b/terminator.cc |
@@ -12,6 +12,8 @@ volatile sig_atomic_t Terminator::exit_blocked_ = 0; |
volatile sig_atomic_t Terminator::exit_requested_ = 0; |
void Terminator::Init() { |
+ exit_blocked_ = 0; |
+ exit_requested_ = 0; |
signal(SIGTERM, HandleSignal); |
} |