Avoid leading '+' in 'Can't add' message

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6348 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-14 21:32:40 +00:00
parent 61f661e79e
commit 3d5493bdb4

View File

@ -46,7 +46,7 @@ add_to_zone() # $1...${n-1} = <interface>[:<hosts>] $n = zone
[ -n "$IPRANGE_MATCH" ] && [ -f $TMP_DIR/iprange ] && rm -f $TMP_DIR/iprange
if ! $IPTABLES $@ ; then
error_message "ERROR: Can't add $newhost to zone $zone"
error_message "ERROR: Can't add ${newhost#+} to zone $zone"
fi
}