From 04da292df999b51dfd21496802b9a7ac58e51802 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Tue, 1 Nov 2016 12:17:38 -0700 Subject: [PATCH] Missed one spinner, updated and exit script if github is unreachable. --- advanced/Scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index e5e8766d..71b0a6ad 100644 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -48,7 +48,7 @@ make_repo() { # Remove the non-repod interface and clone the interface echo -n "::: Cloning $2 into $1..." rm -rf "${1}" - git clone -q --depth 1 "${2}" "${1}" > /dev/null & spinner $! + git clone -q --depth 1 "${2}" "${1}" > /dev/null || exit 1 echo " done!" }