From 965659601c2704164153379222db6b5f2678c0d9 Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Fri, 5 Oct 2018 18:21:52 +0800 Subject: [PATCH] fix typo --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }