fix typo
This commit is contained in:
parent
ca686dd582
commit
965659601c
@ -23,7 +23,7 @@ function update-ufw-rules() {
|
||||
-e 's/="/ /' \
|
||||
-e 's/"$//' |
|
||||
while read id port; do
|
||||
ufw-allow-or-deny-service "${id}" "${port%*/}"
|
||||
ufw-allow-or-deny-service "${id}" "${port#*/}"
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user