summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/git.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index 2c43cd22..77a22763 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -91,10 +91,9 @@ fetch_submodule()
"$mdir/${1##*/}/patches"
}
-livepull="n"
tmpclone()
{
- [ "$repofail" = "y" ] && \
+ livepull="n" && [ "$repofail" = "y" ] && \
printf "Cached clone failed; trying online.\n" 1>&2 && livepull="y"
repofail="n"