mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 12:09:14 +01:00
Return success exit status when no ipsets are saved by the script
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bbdbdf7c47
commit
ca35f565e0
@ -8148,7 +8148,8 @@ sub create_save_ipsets() {
|
||||
}
|
||||
} elsif ( $config{SAVE_IPSETS} ) {
|
||||
emit( ' error_message "WARNING: No ipsets were saved"',
|
||||
' return 1',
|
||||
" #\n # Indicate success so that the CLI doesn't attempt to save the sets\n #",
|
||||
' return 0',
|
||||
"}\n" );
|
||||
} else {
|
||||
emit( ' true',
|
||||
|
Loading…
Reference in New Issue
Block a user