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:
parent
da468788d0
commit
b4f42d01e9
4
init/msm
4
init/msm
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user