1
0
Fork 0

repo2html will no longer return a non-zero exit status when cref-bad is empty

This bug was introduced by the last commit.
master
Mike Gerwitz 2013-03-10 21:53:58 -04:00
parent 3cec847866
commit 8dc8d8b3b9
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 1 deletions

View File

@ -107,6 +107,6 @@ grep -f"$cref_errlog_first" "$listcache" \
2> >( sed 's/^/[Reprocessing] /g' >&2 )
# if any invalid crefs remain, then they're bad
[ -s "$cref_errlog" ] && {
[ ! -s "$cref_errlog" ] || {
echo "warning: bad cref(s); see $cref_errlog" >&2
}