From b9926a0fc390f0d3bcd584c8103eaeffaaa31c3d Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 15 Dec 2023 02:34:45 +0800 Subject: [PATCH] Update setup-tdengine.sh --- setup-tdengine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-tdengine.sh b/setup-tdengine.sh index 773e872..7efa3e3 100644 --- a/setup-tdengine.sh +++ b/setup-tdengine.sh @@ -9,7 +9,7 @@ then sudo systemctl start taoskeeper export TDENGINE_REST=$(hostname):6041/rest/sql count=0 - until [curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "SELECT SERVER_STATUS();" $TDENGINE_REST ] + until curl -L -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -d "SELECT SERVER_STATUS();" $TDENGINE_REST do sleep 1; let count+=1;