added signal management for 1 more signal

This commit is contained in:
xdrm-brackets 2018-01-31 20:56:41 +01:00
parent c98bfaa85c
commit 1d7f80044b
1 changed files with 1 additions and 1 deletions

2
daemon
View File

@ -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;