mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
Fix restart --warn broadcasting shutdown message
This commit is contained in:
parent
e2c3fa3c68
commit
ca3ff1e5f6
@ -834,7 +834,7 @@ doStop() {
|
||||
done
|
||||
|
||||
if [[ -n "$dowarn" ]]; then
|
||||
if ! doWarn "$1" "$warnreason"; then
|
||||
if ! doWarn "$stopreason" "$warnreason"; then
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user