Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Commit

Permalink
Wait on validate save failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thmhoag committed Jan 28, 2020
1 parent 060f99d commit dbe6469
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ if [[ "$VALIDATE_SAVE_EXISTS" = true && ! -z "$am_ark_AltSaveDirectoryName" && !
echo "$savefile not found!"
echo "Attempting to notify via Discord..."
arkmanager notify "Critical error: unable to find $savefile in $savepath!"

# wait on failure so we don't spam docker logs
sleep 5m
exit 1
else
echo "$savefile found."
Expand Down

0 comments on commit dbe6469

Please sign in to comment.