Brock Rozen <brozen(_at_)netvoyage(_dot_)net> writes:
Assuming all variables are set properly and conditions are met, the
following recipe below will generate an e-mail message containing (almost)
nothing in it (except the basic headers, no subject) whenever the $HELPLOG
file exists. If it doesn't exist than it will be created by touch and the
unwanted e-mail message isn't sent.
Can anybody please enlighten me as to why this e-mail message is being
generated and how I can prevent it from being generated? Thanks.
...
While I can't see offhand why you'd be getting an (almost) empty message,
I do think you should remove the middle recipe. There's no need to touch
$HELPLOG if it doesn't exist, as the append (>>) redirection will create
the file on the fly if it doesn't already exist.
Philip Guenther
----------------------------------------------------------------
Philip Guenther UNIX Systems and Network Administrator
Internet: guenther(_at_)gac(_dot_)edu Voicenet: (507) 933-7596
Gustavus Adolphus College St. Peter, MN 56082-1498