From 5cd0c4097524508a84273c1da78ee19227d5cac4 Mon Sep 17 00:00:00 2001 From: Osiris Date: Thu, 16 May 2019 19:55:02 +0200 Subject: [PATCH] fix for .tmp.zip saves not being deleted on start (#255) Co-Authored-By: Chris Cowan --- 0.17/files/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0.17/files/docker-entrypoint.sh b/0.17/files/docker-entrypoint.sh index aab4386..339483e 100755 --- a/0.17/files/docker-entrypoint.sh +++ b/0.17/files/docker-entrypoint.sh @@ -32,7 +32,7 @@ fi NRTMPSAVES=$( find -L "$SAVES" -iname \*.tmp.zip -mindepth 1 | wc -l ) if [ "$NRTMPSAVES" -gt 0 ]; then # Delete incomplete saves (such as after a forced exit) - rm -f "$SAVES/*.tmp.zip" + rm -f "$SAVES"/*.tmp.zip fi if [ "$(id -u)" = '0' ]; then