Fixed hang on command_stop().

This commit is contained in:
Keeley Hoek 2012-07-05 11:58:32 +10:00
parent eb1d9a2efa
commit 4602231c45

View File

@ -1065,7 +1065,7 @@ manager_stop_all_servers() {
any_running="true" any_running="true"
was_running[$server]="true" was_running[$server]="true"
STOP_COUNTDOWN[$server]="true" STOP_COUNTDOWN[$server]="true"
if [[ "${SERVER_STOP_DELAY[$i]}" -gt "$max_countdown" ]]; then if [[ "${SERVER_STOP_DELAY[$server]}" -gt "$max_countdown" ]]; then
max_countdown="${SERVER_STOP_DELAY[$server]}" max_countdown="${SERVER_STOP_DELAY[$server]}"
fi fi