summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/includes/downloader.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/includes/downloader.inc b/core/includes/downloader.inc
index e18db442..6f1259c7 100644
--- a/core/includes/downloader.inc
+++ b/core/includes/downloader.inc
@@ -148,6 +148,8 @@ autoclone () {
elif [ -n "$checkout" ]; then
git -C "$dstdir/$dst" checkout "$checkout" && break
perror "Could not checkout $checkout from $url"
+ else
+ break
fi
fi
done