summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-15 19:27:55 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-15 19:27:55 -0500
commit8a603c978fa0642b02c2fcbb749bf4c3c2793c29 (patch)
treed6049ea314ae356ecd6d922ce18110cb9c56828b
parent6208964ad32a7f36e03d8d14d969642255524566 (diff)
minor bugfix
-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() (