aboutsummaryrefslogtreecommitdiffstats
path: root/src/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/signal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 8e624556..5df80d51 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -32,6 +32,11 @@
extern jmp_buf recover_env;
+/**
+ * @brief
+ *
+ * @param sig
+ */
void handle_signal(int sig) {
static int _repeat_handle_num = 1, last_sig = sig;
LOG(INFO) << "signal caught" << sig;