Update mysql_backup.sh

This commit is contained in:
Naum Soloveychik
2020-01-14 11:25:06 +03:00
parent 7ef35ab08e
commit b7a01df408

View File

@@ -127,7 +127,7 @@ if [ -s ${pidfile} ] ; then
exit 1 ;
fi
trap "rm -f ${pidfile} ;" EXIT INT KILL TERM SIGKILL SIGTERM;
trap "rm -f ${pidfile} ;" EXIT INT KILL TERM SIGKILL SIGTERM SIGHUP;
echo $$ > ${pidfile} ;