Actually cancel warning when Ctrl-C etc are pressed

This commit is contained in:
Ben Peddell 2016-05-30 02:25:11 +10:00
parent 957a5689dc
commit 0be8a67ba0

View File

@ -1071,6 +1071,7 @@ doWarn(){
msg="Shutdown cancelled by operator ($1)"
fi
doBroadcastWithEcho "${msg}"
exit 1
}
trap "update_cancelled 'Ctrl+C'" SIGINT