mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 08:03:11 +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
|
||||
|
||||
8) Fix syntax error in 'export'
|
||||
|
||||
Initial release of Shorewall 4.2.0.
|
||||
|
@ -96,6 +96,10 @@ Problems corrected in Shorewall 4.2.1
|
||||
/etc/shorewall/tcrules was incomplete with the result that
|
||||
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
|
||||
|
||||
1) With the recent renewed interest in DOS attacks, it seems
|
||||
|
@ -1410,7 +1410,7 @@ export_command() # $* = original arguments less the command.
|
||||
echo "Copying $file and ${file}.conf to ${target#*@}..." && \
|
||||
scp $directory/firewall $directory/firewall.conf $target
|
||||
then
|
||||
save=(find_file save);
|
||||
save=$(find_file save);
|
||||
|
||||
[ -f $save ] && progress_message3 "Copying $save to ${target#*}..." && rcp_command $save $target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user