Update run.sh

This commit is contained in:
Manevolent 2021-09-21 12:52:40 -06:00 committed by GitHub
parent 7be6c9ad86
commit c0b7e592e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
run.sh
View File

@ -32,6 +32,7 @@ do
continue
fi
git reset --hard >> $log 2>&1
git checkout $latest_commit >> $log 2>&1
if [ $? -ne 0 ]; then
echo "Git checkout failed. For more details, see $log"
@ -53,4 +54,4 @@ do
fi
)
sleep $delay
done
done