Skip to content

Commit

Permalink
Solaris sleep does not support suffix 's' (#3825)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard authored May 29, 2024
1 parent 322bedd commit 17b5236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbin/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function setOpenJdkVersion() {
then
echo "RETRYWARNING: Query ${retryCount} failed. Retrying in 30 seconds (max retries = ${retryMax})..."
retryCount=$((retryCount+1))
sleep 30s
sleep 30
else
echo "featureNumber FOUND: ${featureNumber}" && break
fi
Expand Down Expand Up @@ -264,6 +264,6 @@ function verboseSleep() {
else
local i="${1}"
fi
while [ "$i" -gt 0 ] ; do echo -n " $i " && sleep 1s && i=$((i-1)) ; done && echo " $i"
while [ "$i" -gt 0 ] ; do echo -n " $i " && sleep 1 && i=$((i-1)) ; done && echo " $i"
}

0 comments on commit 17b5236

Please sign in to comment.