(mirroring) make bg push errors more visible/easier to grep
This commit is contained in:
parent
fabfcb5c19
commit
4b9bf222e5
|
@ -75,7 +75,7 @@ exec >>$logfile 2>&1 </dev/null
|
||||||
for s in $slaves
|
for s in $slaves
|
||||||
do
|
do
|
||||||
[ "$s" = "$hn" ] && continue # skip ourselves
|
[ "$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/^/ /"
|
done 2>&1 | sed -e "s/^/ /"
|
||||||
echo `date +%T` '===>' $slaves
|
echo `date +%T` '===>' $slaves
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue