Update installers/common.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
ShH Y
2025-12-05 23:17:48 +08:00
committed by GitHub
parent 7cb3e62850
commit b21f9897e7

View File

@@ -837,7 +837,7 @@ function _configure_networking() {
)
for rule in "${rules[@]}"; do
if sudo grep -- "$rule" $rulesv4 > /dev/null; then
echo "Rule already exits: ${rule}"
echo "Rule already exists: ${rule}"
else
rule=$(sed -e 's/^\(-A POSTROUTING\)/-t nat \1/' <<< $rule)
echo "Adding rule: ${rule}"