On Thu, 16 Aug 2007, Matthew Jarvis wrote:

It's prolly unrelated to a problem I'm having, but I came across this in a bash script that is supposed to send me an email when a certain task is done.


# change these to suit your needs
SENDMAIL=/usr/sbin/sendmail  # your Mail-Transfer-Agent
SENDMAIL_OPTS=               # and its required options

Then later when it fires off the command, it looks like this:


cat $TEMPFILE | $SENDMAIL $SENDMAIL_OPTS "$@"


It looks to me like the first ref to SENDMAIL_OPTS is a dangling reference, but then later on the command that runs supplies the parameter.

I wonder if the first ref is a problem or not.

It just means SENDMAIL_OPTS is null.

--
Refrigerator Rule #1: If you don't remember when you bought it, Don't eat it.
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to