(mirroring) make bg push errors more visible/easier to grep

This commit is contained in:
Sitaram Chamarty 2011-08-15 20:49:07 +05:30
parent fabfcb5c19
commit 4b9bf222e5

View file

@ -75,7 +75,7 @@ exec >>$logfile 2>&1 </dev/null
for s in $slaves
do
[ "$s" = "$hn" ] && continue # skip ourselves
git push --mirror $s:$repo
git push --mirror $s:$repo || echo ==== WARNING: RC=$? from git push --mirror $s:$repo ====
done 2>&1 | sed -e "s/^/ /"
echo `date +%T` '===>' $slaves
echo