4.12-2 Solaris buglet
Jeff A. Earickson
jaearick at COLBY.EDU
Mon Feb 3 14:53:21 GMT 2003
Julian,
I upgraded from 4.11-1 to 4.12-2 today, Solaris 8, and got
complaints from my startup script:
/bin/fgrep: illegal option -- q
I dug around and found that bin/check_mailscanner has a define at
the top of FGREP=/bin/fgrep. Then a few lines down, the script
says:
if $UNAME | $FGREP -q "SunOS" ; then
which causes the complaints. How about just a test against "uname -s"
instead?
UNAME=`/bin/uname -s`
if [ $UNAME = "SunOS" ]; then
My quick fix to the problem was to change the definition of
FGREP to use /usr/local/bin/fgrep, the GNU version that supports -q.
-----------------------------------
Jeff A. Earickson, Ph.D
Senior UNIX Sysadmin and Email Guru
Information Technology Services
Colby College, 4214 Mayflower Hill,
Waterville ME, 04901-8842
phone: 207-872-3659 (fax = 3076)
-----------------------------------
More information about the MailScanner
mailing list