Xymon Mailing List Archive search

Issue with MAILC env variable?

list Tom Moore
Thu, 10 Dec 2009 08:35:53 -0500
Message-Id: <user-0811d6e3adc3@xymon.invalid>

Yea that was the first thing I tried. Got errors as well.

On Dec 9, 2009, at 8:49 PM, "Malcolm Hunter"  
<user-b3e590ffeb6d@xymon.invalid> wrote:
Resolved.  It turns out I have a bash script running from
hobbitlaunch.cfg, and in bash parenthesis have a special meaning  
and thus it blows up when
running the cmd:

. /usr/local/xymon/server/etc/hobbitserver.cfg

I changed the MAILC line to use single quotes such as:

MAILC="/usr/bin/nail -r 'user-4b9489cbb9ab@xymon.invalid (Xymon)'"

And all is well.  Sorry for the email traffic, but hey, this will  
hit the
archive and maybe help someone in the future ;)
I don't suppose you tried escaping the quotes?


MAILC="/usr/bin/nail -r \"user-4b9489cbb9ab@xymon.invalid (Xymon)\""

Regards,

Malcolm

-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB

Facebook: http://www.facebook.com/FriendlyAtheist

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01