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.


--
Matthew S. Jarvis
IT Manager
Bike Friday - "Performance that Packs."
www.bikefriday.com
541/687-0487 x140
[EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to