Skip to content

Commit

Permalink
Attempt to fix POSIX sh error
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Sep 30, 2024
1 parent 1c4fd02 commit 2142a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ while true; do
break
fi
# Attempt to get the dev prefix of the instance
if [[ -z "$dev_prefix" ]]; then
if [ -z "$dev_prefix" ]; then
response=$(curl -v ${kibana_url} 2>&1)
if echo "$response" | grep -q "HTTP/1.1 302 Found"; then
dev_prefix=$(echo "$response" | grep -i "location:" | cut -d':' -f2- | tr -d '[:space:]')
Expand Down

0 comments on commit 2142a1a

Please sign in to comment.