From ae1513c50ec31d0666df746a8971cbd306227ace Mon Sep 17 00:00:00 2001 From: Stanislav Simovski Date: Sat, 25 Jun 2022 12:29:58 +0300 Subject: [PATCH] Fixes #1556 --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 5c086b4..d260254 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -1105,7 +1105,7 @@ updateRepo(){ # Go back to /usr/local/src otherwise git will complain when the current working # directory has just been deleted (/usr/local/src/pivpn). cd /usr/local/src && \ - $SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null & spinner $! + $SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null && spinner $! cd "${1}" || exit 1 echo " done!" if [ -n "${pivpnGitBranch}" ]; then