Fix my application of Simon Matter's Patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@637 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-07-05 18:17:40 +00:00
parent eee8b28a8e
commit 24d864d427

View File

@ -3320,7 +3320,7 @@ report_capability() # $1 = Capability Name, $2 Capability Setting (if any)
{
local setting=
[ x$1 = "xYes" ] && { setting="Available"; shift; } || setting="Not available"
[ "x$1" = "xYes" ] && { setting="Available"; shift; } || setting="Not available"
echo " " $@: $setting
}