mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-05-10 21:48:30 +02:00
fix typo
This commit is contained in:
parent
ca686dd582
commit
965659601c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function update-ufw-rules() {
|
||||||
-e 's/="/ /' \
|
-e 's/="/ /' \
|
||||||
-e 's/"$//' |
|
-e 's/"$//' |
|
||||||
while read id port; do
|
while read id port; do
|
||||||
ufw-allow-or-deny-service "${id}" "${port%*/}"
|
ufw-allow-or-deny-service "${id}" "${port#*/}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue