1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

No need to explicitly check for both cases when using grep -i.

This commit is contained in:
Robert Watson 2002-03-12 21:44:33 +00:00
parent 6abb238df8
commit 2e1fc052bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92191

View File

@ -53,7 +53,7 @@ case "$daily_status_security_loginfail_enable" in
[Yy][Ee][Ss])
echo ""
echo "${host} login failures:"
n=$(catmsgs | grep -ia "^$yesterday.*[fF]ail" |
n=$(catmsgs | grep -ia "^$yesterday.*fail" |
tee /dev/stderr | wc -l)
[ $n -gt 0 ] && rc=1 || rc=0;;
*) rc=0;;