mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
removed "stray" backslash in grep expression in status script
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ RESPONSE_STATUS_CODE=$(echo $STATUS | head -n 1 | cut -d ' ' -f 2)
|
||||
|
||||
echo "AVAILABILITY_STATUS: $RESPONSE_STATUS_CODE" >&2
|
||||
echo "AVAILABILITY_DETAILS:" >&2
|
||||
echo "$STATUS" | grep "^\{" | jq .
|
||||
echo "$STATUS" | grep "^{" | jq .
|
||||
|
||||
if [[ $RESPONSE_STATUS_CODE =~ 2.. ]]; then
|
||||
echo "Server $SERVER_NAME is available on $SERVER_PORT" >&2
|
||||
|
||||
Reference in New Issue
Block a user