mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
shellcheck: Fix shellcheck SC2071
> > is for string comparisons. Use -gt instead. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
eb90b93e3f
commit
b8cfdd06fb
@ -29,7 +29,7 @@ function main() {
|
||||
|
||||
echo "Running kubernetes stability test"
|
||||
count=0
|
||||
while [[ "${end_time}" > $(date +%s) ]]; do
|
||||
while [[ "${end_time}" -gt $(date +%s) ]]; do
|
||||
echo "This is the number of iterations $count"
|
||||
count=$((count+1))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user