Skip to content

Commit

Permalink
Don't exit when unable to clear logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wolveix authored Oct 26, 2024
1 parent b426a61 commit 97697ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 97697ee

Please sign in to comment.