mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-24 18:08:23 +01:00
fix for .tmp.zip saves not being deleted on start (#255)
Co-Authored-By: Chris Cowan <agentme49@gmail.com>
This commit is contained in:
parent
778d982c6d
commit
5cd0c40975
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user