Do not emit a message on stderr when one of the compared files
is shorter than the other. Reviewed by: roberto MFC after: 3 days
This commit is contained in:
parent
68c2bacd8d
commit
da509dd293
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106988
@ -63,7 +63,7 @@ check_diff() {
|
||||
cp ${tmpf} ${LOG}/${label}.today || rc=3
|
||||
fi
|
||||
|
||||
if ! cmp ${LOG}/${label}.today ${tmpf} >/dev/null; then
|
||||
if ! cmp -s ${LOG}/${label}.today ${tmpf} >/dev/null; then
|
||||
[ $rc -lt 1 ] && rc=1
|
||||
echo ""
|
||||
echo "${msg}"
|
||||
|
Loading…
Reference in New Issue
Block a user