13 Apr
2012
13 Apr
'12
3:37 a.m.
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