diff options
| author | 2024-09-04 20:01:35 +0200 | |
|---|---|---|
| committer | 2024-09-04 20:01:35 +0200 | |
| commit | bcdebf361673dfbccf7cfb8e382b7fea9053942b (patch) | |
| tree | 6ad4f6992c822c03145c97f946badd582fb267db /ansible/roles/git-mirrors/templates | |
| parent | Fix Jitsi SASL authentication (diff) | |
Nicenice
Nice
Diffstat (limited to 'ansible/roles/git-mirrors/templates')
| -rw-r--r-- | ansible/roles/git-mirrors/templates/update-mirrors.sh.j2 | 2 |
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 |