-F is GNU diff specific, not implemented in BSD diff.

Reported by:	kouya@ryuhoku.jp
MFC after:	3 days
This commit is contained in:
Hiroki Sato 2020-03-18 08:00:46 +00:00
parent f22e76dc20
commit c165f4ab69

View File

@ -149,7 +149,7 @@ cat <<!
The new rules are now installed. The previous rules have been preserved in
the file ${edit_file}.$DATE
!
diff -F "^# .*[A-Za-z]" -u ${edit_file}.$DATE ${edit_file} \
diff -u ${edit_file}.$DATE ${edit_file} \
| mail -s "`hostname` Firewall rule change" root
rm ${TMPFILE}
exit 0