disable SIGINT in cleanup(), so the user will not be able to interrupt it

This commit is contained in:
oblique 2014-08-17 02:16:12 +03:00
parent 4758bcf6d9
commit d388c593ab

View File

@ -190,6 +190,8 @@ OLD_BRIDGE_IPTABLES=
OLD_MACADDR= OLD_MACADDR=
cleanup() { cleanup() {
trap "" SIGINT
echo echo
echo "Doing cleanup..." echo "Doing cleanup..."