diff --git a/update b/update index 115a89b..136de4b 100755 --- a/update +++ b/update @@ -18,7 +18,7 @@ if [ ! -d "./.git" ]; then git remote add origin https://github.com/chaotic-aur/docker-mirror git fetch git reset --hard origin/main -else if [ ! -f ./custom.diff ]; then +elif [ ! -f ./custom.diff ]; then git pull || { echo "Git pull failed, please fix the issue at hand."; exit 1; } else git fetch