mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-10-30 18:28:03 +00:00
Fix syntax error
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
@@ -684,7 +684,7 @@ test_service() {
|
|||||||
echo "-----------------------------"
|
echo "-----------------------------"
|
||||||
rtty $1
|
rtty $1
|
||||||
check_response $result_file
|
check_response $result_file
|
||||||
RTTY_STATUS="$(curl -s -w '%{http_code}' $url"
|
RTTY_STATUS="$(curl -s -w '%{http_code}' $url)"
|
||||||
|
|
||||||
if [[ "$RTTY_STATUS" != 200 && "$RTTY_STATUS" != 302 ]]; then
|
if [[ "$RTTY_STATUS" != 200 && "$RTTY_STATUS" != 302 ]]; then
|
||||||
echo "Error: failed to start RTTY session, HTTP status code $RTTY_STATUS"
|
echo "Error: failed to start RTTY session, HTTP status code $RTTY_STATUS"
|
||||||
|
|||||||
Reference in New Issue
Block a user