diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 823b545..490f73a 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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 }