From owner-freebsd-bugs Wed Sep 23 11:00:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA11798 for freebsd-bugs-outgoing; Wed, 23 Sep 1998 11:00:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11719 for ; Wed, 23 Sep 1998 11:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA07946; Wed, 23 Sep 1998 11:00:00 -0700 (PDT) Date: Wed, 23 Sep 1998 11:00:00 -0700 (PDT) Message-Id: <199809231800.LAA07946@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Studded Subject: Re: conf/8031: /etc/rc looks for /etc/sendmail.cf at startup Reply-To: Studded Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR conf/8031; it has been noted by GNATS. From: Studded To: Drew Derbyshire Cc: freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: conf/8031: /etc/rc looks for /etc/sendmail.cf at startup Date: Wed, 23 Sep 1998 10:58:45 -0700 Drew Derbyshire wrote: This isn't directed towards Drew, but technically the RHS of the test should be "XYES" instead of how it is now. The '=' conditional compares strings, so the LHS is correct, and it should be the same on both sides. There are numerous examples of this error. Although personally I would prefer something that is a little more user friendly, like: case "${sendmail_enable}" in YES | yes ) echo -n ' sendmail' /usr/sbin/sendmail "${sendmail_flags}" ;; esac I'd be happy to submit a patch if it had a chance of being committed. :) > ! if [ "X${sendmail_enable}" = X"YES" ]; then > echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} > fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message