(( SYNCED++ )) returns exit code 1 when SYNCED=0, because the post-increment evaluates to 0 which is falsy in arithmetic context. With set -euo pipefail this kills the script after the first repo. Also disable LFS lock verification (one-way mirror doesn't need it) to suppress noisy stderr messages. |
||
|---|---|---|
| .. | ||
| breakglass-healthcheck.sh | ||
| breakglass-sync.sh | ||