repo2html will no longer return a non-zero exit status when cref-bad is empty
This bug was introduced by the last commit.master
parent
3cec847866
commit
8dc8d8b3b9
|
@ -107,6 +107,6 @@ grep -f"$cref_errlog_first" "$listcache" \
|
||||||
2> >( sed 's/^/[Reprocessing] /g' >&2 )
|
2> >( sed 's/^/[Reprocessing] /g' >&2 )
|
||||||
|
|
||||||
# if any invalid crefs remain, then they're bad
|
# if any invalid crefs remain, then they're bad
|
||||||
[ -s "$cref_errlog" ] && {
|
[ ! -s "$cref_errlog" ] || {
|
||||||
echo "warning: bad cref(s); see $cref_errlog" >&2
|
echo "warning: bad cref(s); see $cref_errlog" >&2
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue