summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mirror b/git-mirror
index 6fc6ebb..cccf2ce 100755
--- a/git-mirror
+++ b/git-mirror
@@ -80,7 +80,7 @@ download() {
git config --file "$local/config" --add git-mirror."$key" "$val"
done < "$local/git-mirror.tmp"
rm -f "$local/git-mirror.tmp"
- git config --file "$local/config" --remove-section git-mirror-bak
+ git config --file "$local/config" --remove-section git-mirror-bak 2>/dev/null || true
}
upload() (