From 00c16d3857c0bcc0ebf46976d5620959c3fdafb9 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:51:11 +0000 Subject: [PATCH] update: cancel update if repo errors --- bsx-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsx-update b/bsx-update index d5acbc7..42a7425 100755 --- a/bsx-update +++ b/bsx-update @@ -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