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;