update: cancel update if repo errors

This commit is contained in:
nahuhh 2024-11-19 14:51:11 +00:00
parent c163ac2ce4
commit 00c16d3857

View file

@ -32,7 +32,7 @@ else
# Download updated scripts
echo "Updating basicswap-bash scripts" && sleep 1
git clone https://github.com/nahuhh/basicswap-bash
git clone https://github.com/nahuhh/basicswap-bash || { $red"Failed to clone repo. Cancelling update."; exit; }
cd basicswap-bash
# Move scripts