Skip to content

Commit

Permalink
Correct property loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Whybrow committed Nov 4, 2012
1 parent 38fec75 commit 484fb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init/msm
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ server_ensure_links() {
# Moves a servers worlds into RAM
# $1: The ID of the server
server_worlds_to_ram() {
manager_property RAMDISK_STORAGE_PATH
manager_property RAMDISK_STORAGE_ENABLED

# Only proceed if there is a ramdisk path set in config
if [[ "$SETTINGS_RAMDISK_STORAGE_ENABLED" == "true" ]]; then
Expand All @@ -715,7 +715,7 @@ server_worlds_to_ram() {
# Moves a servers "in RAM" worlds back to disk
# $1: The ID of the server
server_worlds_to_disk() {
manager_property RAMDISK_STORAGE_PATH
manager_property RAMDISK_STORAGE_ENABLED

if [[ "$SETTINGS_RAMDISK_STORAGE_ENABLED" == "true" ]]; then
echo -n "Synchronising worlds in RAM to disk... "
Expand Down

0 comments on commit 484fb88

Please sign in to comment.