mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-09 07:08:14 +01:00
Correct syntax error in the generated script
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f08803e293
commit
2ffc97867c
@ -7917,7 +7917,7 @@ sub save_dynamic_chains() {
|
||||
if ( $config{SAVE_COUNTERS} ) {
|
||||
my $utility = $family == F_IPV4 ? 'iptables-restore' : 'ip6tables-restore';
|
||||
|
||||
emit( 'if [ "$COMMAND" = restart; then',
|
||||
emit( 'if [ "$COMMAND" = restart ]; then',
|
||||
" ${tool}-save --counters > \${VARDIR}/.$utility}-input",
|
||||
"fi\n" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user