Skip to content

Commit 517ac37

Browse files
committed
improve code robustness
1 parent 86ce738 commit 517ac37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/LinuxSystemOps/Security/firewall/add-firewall-rich-rule-to-current-host.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function add_a_fw_rich_rule() {
2222
function main() {
2323
remove_an_old_fw_rich_rule
2424
add_a_fw_rich_rule
25-
firewall-cmd --list-all
25+
firewall-cmd --list-all --zone=public
2626
}
2727

2828
main

0 commit comments

Comments
 (0)