mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
Fix syntax error in export command executor
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8797 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a3c49402e2
commit
9782bef71e
@ -14,4 +14,6 @@ Changes in Shorewall 4.2.1
|
|||||||
|
|
||||||
7) Take advantage --ctorigdstport
|
7) Take advantage --ctorigdstport
|
||||||
|
|
||||||
|
8) Fix syntax error in 'export'
|
||||||
|
|
||||||
Initial release of Shorewall 4.2.0.
|
Initial release of Shorewall 4.2.0.
|
||||||
|
@ -94,7 +94,11 @@ Problems corrected in Shorewall 4.2.1
|
|||||||
|
|
||||||
4) The Shorewall-perl implementation of the LENGTH column in
|
4) The Shorewall-perl implementation of the LENGTH column in
|
||||||
/etc/shorewall/tcrules was incomplete with the result that
|
/etc/shorewall/tcrules was incomplete with the result that
|
||||||
all LENGTH rules matched. Thanks to Lennart Sorensen for the patch.
|
all LENGTH rules matched. Thanks to Lennart Sorensen for the patch.
|
||||||
|
|
||||||
|
5) The 'export' command no longer fails with the error:
|
||||||
|
|
||||||
|
/sbin/shorewall: 1413: Syntax error: "(" unexpected (expecting "fi")
|
||||||
|
|
||||||
Other changes in Shorewall 4.2.1
|
Other changes in Shorewall 4.2.1
|
||||||
|
|
||||||
|
@ -1410,7 +1410,7 @@ export_command() # $* = original arguments less the command.
|
|||||||
echo "Copying $file and ${file}.conf to ${target#*@}..." && \
|
echo "Copying $file and ${file}.conf to ${target#*@}..." && \
|
||||||
scp $directory/firewall $directory/firewall.conf $target
|
scp $directory/firewall $directory/firewall.conf $target
|
||||||
then
|
then
|
||||||
save=(find_file save);
|
save=$(find_file save);
|
||||||
|
|
||||||
[ -f $save ] && progress_message3 "Copying $save to ${target#*}..." && rcp_command $save $target
|
[ -f $save ] && progress_message3 "Copying $save to ${target#*}..." && rcp_command $save $target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user