From 97697ee4f03a141ba3763ff0e96d712c31d93086 Mon Sep 17 00:00:00 2001 From: Robert Thomas <31854736+wolveix@users.noreply.github.com> Date: Sat, 26 Oct 2024 18:11:46 +0100 Subject: [PATCH] Don't exit when unable to clear logs --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 9c2e848..78d2987 100755 --- a/init.sh +++ b/init.sh @@ -49,7 +49,7 @@ fi if [[ "${LOG,,}" != "true" ]]; then printf "Clearing old Satisfactory logs (set LOG=true to disable this)\\n" if [ -d "/config/gamefiles/FactoryGame/Saved/Logs" ] && [ -n "$(find /config/gamefiles/FactoryGame/Saved/Logs -type f -print -quit)" ]; then - rm -r /config/gamefiles/FactoryGame/Saved/Logs/* + rm -r /config/gamefiles/FactoryGame/Saved/Logs/* || true fi fi