Xymon Mailing List Archive search

Issue with MAILC env variable?

list Malcolm Hunter
Thu, 10 Dec 2009 02:46:11 +0100
Message-Id: <user-0aa5dbe5978c@xymon.invalid>

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