From 1d7f80044b7af4067b9d146cad872e96ee053aba Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 31 Jan 2018 20:56:41 +0100 Subject: [PATCH] added signal management for 1 more signal --- daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon b/daemon index f4c8b9c..447e1a8 100755 --- a/daemon +++ b/daemon @@ -18,7 +18,7 @@ touch $ROOT/.lock; # (2) Set traps before starting any subproccess #--------------------------------------------------------# -trap "rm $ROOT/.lock 2>/dev/null; exit 1;" INT KILL; +trap "rm $ROOT/.lock 2>/dev/null; exit 1;" HUP INT KILL TERM;