aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/git-mirrors
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/git-mirrors')
-rw-r--r--ansible/roles/git-mirrors/templates/update-mirrors.sh.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/git-mirrors/templates/update-mirrors.sh.j2 b/ansible/roles/git-mirrors/templates/update-mirrors.sh.j2
index b662082..721ec67 100644
--- a/ansible/roles/git-mirrors/templates/update-mirrors.sh.j2
+++ b/ansible/roles/git-mirrors/templates/update-mirrors.sh.j2
@@ -11,7 +11,7 @@ FOUND_REPOS=$(find "$MIRRORS_BASE_DIR" -name "HEAD" -print0 | xargs -0 dirname)
for repo in $FOUND_REPOS; do
cd "$repo";
echo "Updating $repo mirror..."
- if ! git fetch -q --prune; then
+ if ! nice git fetch -q --prune; then
echo "Error: Failed to update repository $repo"
exit 1
fi