diff options
| author | Thomas Quinot <thomas@FreeBSD.org> | 2002-11-16 14:58:39 +0000 |
|---|---|---|
| committer | Thomas Quinot <thomas@FreeBSD.org> | 2002-11-16 14:58:39 +0000 |
| commit | da509dd2934f0b3ae587cdfd312d2d64442fafef (patch) | |
| tree | 43bc94b76f521b0d54621df29aa0eed7ff5057de | |
| parent | 68c2bacd8d3bd32eeaf6363c744d438d5e2ea3d9 (diff) | |
Notes
| -rw-r--r-- | etc/periodic/security/security.functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/security/security.functions b/etc/periodic/security/security.functions index 8dba6dc0c28e8..20d3b8a90ee85 100644 --- a/etc/periodic/security/security.functions +++ b/etc/periodic/security/security.functions @@ -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}" |
