mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-12-22 11:39:21 +00:00
update: cancel update if repo errors
This commit is contained in:
parent
c163ac2ce4
commit
00c16d3857
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ else
|
||||||
|
|
||||||
# Download updated scripts
|
# Download updated scripts
|
||||||
echo "Updating basicswap-bash scripts" && sleep 1
|
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
|
cd basicswap-bash
|
||||||
|
|
||||||
# Move scripts
|
# Move scripts
|
||||||
|
|
Loading…
Reference in a new issue