Question on df processing for xymonclient-linux.sh
On Fri, Apr 13, 2012 at 12:11 AM, Deiss, Mark <user-5cd8675c2346@xymon.invalid>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