1
0
mirror of https://github.com/msmhq/msm.git synced 2024-08-30 18:12:35 +00:00

Prevented inactive worlds from being backed up.

This commit is contained in:
Marcus Whybrow 2012-07-13 19:45:33 +01:00
parent da468788d0
commit b4f42d01e9

@ -948,7 +948,9 @@ server_worlds_backup() {
# For each of the servers worlds:
while [[ "$i" -lt "$max" ]]; do
world_backup "$i"
if [[ "${WORLD_STATUS[$i]}" == "active" ]]; then
world_backup "$i"
fi
i="$(( $i + 1 ))"
done
}