mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Suppress 'No ipsets were saved' warning when SAVE_IPSETS=No
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ea1b8ac63a
commit
5204cbc95f
@ -8075,9 +8075,12 @@ sub create_save_ipsets() {
|
|||||||
'' ,
|
'' ,
|
||||||
"}\n" );
|
"}\n" );
|
||||||
}
|
}
|
||||||
} else {
|
} elsif ( $config{SAVE_IPSETS} ) {
|
||||||
emit( ' error_message "WARNING: No ipsets were saved"',
|
emit( ' error_message "WARNING: No ipsets were saved"',
|
||||||
"}\n" );
|
"}\n" );
|
||||||
|
} else {
|
||||||
|
emit( ' true',
|
||||||
|
"}\n" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user