aboutsummarylogtreecommitdiffstats
path: root/spigot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spigot.sh')
-rwxr-xr-xspigot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/spigot.sh b/spigot.sh
index e37dd3474d1c..4cd2d1a6d621 100755
--- a/spigot.sh
+++ b/spigot.sh
@@ -344,6 +344,7 @@ backup_files() {
if socket_has_session "${SESSION_NAME}"; then
game_command save-off
game_command save-all
+ sleep "${sleep_time:-0.3}"
sync && wait
${SUDO_CMD} tar -C "${SERVER_ROOT}" -cf "${BACKUP_DEST}/${fname}" ${BACKUP_PATHS} --totals ${BACKUP_FLAGS} 2>&1 | grep -v "tar: Removing leading "
game_command save-on