[Xymon] Question on df processing for xymonclient-linux.sh

Jeremy Laidman jlaidman at rebel-it.com.au
Fri Apr 13 05:37:53 CEST 2012


On Fri, Apr 13, 2012 at 12:11 AM, Deiss, Mark <Mark.Deiss at acs-inc.com>wrote:

> A bit concerned that the df line can have a dangling "-x" option if the
> EXCLUDES variable is not populated.


Perhaps just wrap the variable in quotes like so:

  df -Pl -x iso9660 -x "$EXCLUDES" | sed -e

Then "df" doesn't throw an error.

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120413/1f3c845a/attachment.html>


More information about the Xymon mailing list