forked from extern/shorewall_code
Remove the target file before saving ipsets in the savesets command
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
cbcb1ff7e1
commit
6f7d063921
@ -386,6 +386,7 @@ case "$COMMAND" in
|
|||||||
;;
|
;;
|
||||||
savesets)
|
savesets)
|
||||||
if [ $# -eq 2 ]; then
|
if [ $# -eq 2 ]; then
|
||||||
|
rm -f $2
|
||||||
save_ipsets $2
|
save_ipsets $2
|
||||||
else
|
else
|
||||||
usage 2
|
usage 2
|
||||||
|
Loading…
Reference in New Issue
Block a user