mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-15 10:08:43 +01:00
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:
parent
61f661e79e
commit
3d5493bdb4
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user