Skip to content

Commit

Permalink
chore: update error message for ufw allow in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
anomit committed Sep 2, 2024
1 parent 115dcb5 commit e2a4f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ if [ -x "$(command -v ufw)" ]; then
echo "ufw allow rule added for local collector port ${LOCAL_COLLECTOR_PORT} to allow connections from ${DOCKER_NETWORK_SUBNET}.\n"
else
echo "firewall allow rule not added for local collector port ${LOCAL_COLLECTOR_PORT}.\n \
Please attempt to add it manually with: sudo ufw allow ${LOCAL_COLLECTOR_PORT} \n \
Or
Please attempt to add it manually with the following command:\n \
sudo ufw allow from $DOCKER_NETWORK_SUBNET to any port $LOCAL_COLLECTOR_PORT \n \
Then run ./build.sh again.\n"
# exit script if ufw rule not added
exit 1
Expand Down

0 comments on commit e2a4f6c

Please sign in to comment.