mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
Actually cancel warning when Ctrl-C etc are pressed
This commit is contained in:
parent
957a5689dc
commit
0be8a67ba0
@ -1071,6 +1071,7 @@ doWarn(){
|
||||
msg="Shutdown cancelled by operator ($1)"
|
||||
fi
|
||||
doBroadcastWithEcho "${msg}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
trap "update_cancelled 'Ctrl+C'" SIGINT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user