summarylogtreecommitdiffstats
path: root/minecraftd.sh
diff options
context:
space:
mode:
authorGordian Edenhofer2016-02-01 21:01:49 +0100
committerGordian Edenhofer2016-02-01 21:01:49 +0100
commit79570a06041afb975334059219512ac69bde3580 (patch)
treea9244d0d36d2800639ce88ef1545508ff7611425 /minecraftd.sh
parent6c008ee185931f540711806e9eb8df3842d24f46 (diff)
downloadaur-79570a06041afb975334059219512ac69bde3580.tar.gz
Upgpkg: 1.8.9-4
Fix bug which prevented users from taking backups of multiple worlds. It occured due to an out-of-place quotation of a variable.
Diffstat (limited to 'minecraftd.sh')
-rwxr-xr-xminecraftd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/minecraftd.sh b/minecraftd.sh
index 7a4417113972..8743bd746654 100755
--- a/minecraftd.sh
+++ b/minecraftd.sh
@@ -117,10 +117,10 @@ backup_files() {
mc_command save-off
mc_command save-all
sync && wait
- ${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals "${WORLDPATHS}" 2>&1 | grep -v "tar: Removing leading "
+ ${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals ${WORLDPATHS} 2>&1 | grep -v "tar: Removing leading "
mc_command save-on
else
- ${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals "${WORLDPATHS}" 2>&1 | grep -v "tar: Removing leading "
+ ${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals ${WORLDPATHS} 2>&1 | grep -v "tar: Removing leading "
fi
echo -e "\e[39;1mbackup completed\e[0m\n"