mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix carrier return on FW types concatenation
This commit is contained in:
parent
6b294cc9df
commit
90408a197a
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ _set_vps_firewall() {
|
|||
fw_list=$(_set_json "shorewalllist" "$settings")
|
||||
[ -z "$fw_list" ] && return
|
||||
if [ -n "$vpsfwlist" ]; then
|
||||
vpsfwlist="$vpsfwlist\n$(echo $fw_list | jsonfilter -q -e '@.list[*]' | sed '/^[[:space:]]*$/d')"
|
||||
vpsfwlist="${vpsfwlist}"$'\n'"$(echo $fw_list | jsonfilter -q -e '@.list[*]' | sed '/^[[:space:]]*$/d')"
|
||||
else
|
||||
vpsfwlist="$(echo $fw_list | jsonfilter -q -e '@.list[*]' | sed '/^[[:space:]]*$/d')"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue