summaryrefslogtreecommitdiffstats
path: root/csit/resources/scripts/wait_for_rest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'csit/resources/scripts/wait_for_rest.sh')
-rwxr-xr-xcsit/resources/scripts/wait_for_rest.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/csit/resources/scripts/wait_for_rest.sh b/csit/resources/scripts/wait_for_rest.sh
index ce47d600..9732bc54 100755
--- a/csit/resources/scripts/wait_for_rest.sh
+++ b/csit/resources/scripts/wait_for_rest.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# ============LICENSE_START====================================================
-# Copyright (C) 2023 Nordix Foundation.
+# Copyright (C) 2023-2024 Nordix Foundation.
# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -66,8 +66,7 @@ do
sleep 5
fi
done
- if [ $rc -ne 0 ]
- then
+ if [ $rc -ne 0 ]; then
echo "$host port $port REST cannot be detected"
exit $rc
fi