Fix SC2059 for ShellCheck 0.4.4, printf formatting
[releng/builder.git] / jjb / integration / distribution / distribution-check-bootup.sh
index 2ff7cdf314a1425b126dc228540a096d8471da8b..36bbfd705d6075366f51cfdc7768e4bf5199f073 100644 (file)
@@ -93,10 +93,10 @@ while true; do
     COUNT=$(( ${COUNT} + 5 ))
     sleep 5
     echo "already waited ${COUNT} seconds..."
-    if grep --quiet 'org.opendaylight.infrautils.ready-impl.*System ready' "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"; then
+    if grep --quiet 'org.opendaylight.infrautils.*System ready' "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"; then
         echo "Controller is UP"
         break
-    elif (( "${COUNT}" > "360" )); then
+    elif (( "${COUNT}" >= "360" )); then
         echo "Timeout Controller DOWN"
         dump_log_and_exit
     fi