mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 17:05:14 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue