Skip to content

Commit

Permalink
fix: Remove infinite prompt loop in replicator.sh (#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
sds committed Oct 10, 2023
1 parent 4ce5daf commit 98b8dee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/replicator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,8 @@ portable_nproc() {
}

get_hub_host() {
while true; do
read -p "> Enter your HUB_HOST (e.g. my-hub.domain.com:2283): " HUB_HOST
echo "HUB_HOST=$HUB_HOST" >> .env
done
read -p "> Enter your HUB_HOST (e.g. my-hub.domain.com:2283): " HUB_HOST
echo "HUB_HOST=$HUB_HOST" >> .env
}

get_hub_ssl() {
Expand Down

0 comments on commit 98b8dee

Please sign in to comment.