Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142846633
D46716.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
758 B
Referenced Files
None
Subscribers
None
D46716.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
Sun, Jan 25, 3:23 AM (51 m, 31 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27923308
Default Alt Text
D46716.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