aboutsummarylogtreecommitdiffstats
path: root/spigot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spigot.sh')
-rwxr-xr-xspigot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/spigot.sh b/spigot.sh
index 6ab0158a8855..697eb9ecfcf1 100755
--- a/spigot.sh
+++ b/spigot.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"