Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149267577
D46716.1789791680.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
758 B
Referenced Files
None
Subscribers
None
D46716.1789791680.diff
View Options
diff --git a/usr.sbin/periodic/etc/security/security.functions b/usr.sbin/periodic/etc/security/security.functions
--- a/usr.sbin/periodic/etc/security/security.functions
+++ b/usr.sbin/periodic/etc/security/security.functions
@@ -68,11 +68,11 @@
cp ${tmpf} ${LOG}/${label}.today || rc=3
fi
- if ! cmp -s ${LOG}/${label}.today ${tmpf} >/dev/null; then
+ if ! diff -qqb ${LOG}/${label}.today ${tmpf} >/dev/null; then
[ $rc -lt 1 ] && rc=1
echo ""
echo "${msg}"
- diff ${security_status_diff_flags} ${LOG}/${label}.today \
+ diff -b ${security_status_diff_flags} ${LOG}/${label}.today \
${tmpf} | eval "${filter}"
mv ${LOG}/${label}.today ${LOG}/${label}.yesterday || rc=3
mv ${tmpf} ${LOG}/${label}.today || rc=3
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 19, 4:21 AM (9 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29771506
Default Alt Text
D46716.1789791680.diff (758 B)
Attached To
Mode
D46716: periodic 100.chksetuid: supress output if diff is purely whitespace
Attached
Detach File
Event Timeline
Log In to Comment