Skip to content

Commit f530bd6

Browse files
committed
tt
1 parent b0fcf05 commit f530bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rootfs/scripts/utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ wait_for_lock() {
8484
sleep 5
8585
total_sleep_time=$((total_sleep_time + 5))
8686
echo "It has been waiting for $total_sleep_time seconds zzz"
87-
if [$__timeout -gt 0] && [$total_sleep_time -gt $__timeout]; then
87+
if [[ $__timeout -gt 0 && $total_sleep_time -gt $__timeout ]]; then
8888
echo "[$__ticket_id] Total sleep time exceeded $__timeout seconds, exiting with code 1"
8989
exit 1
9090
fi

0 commit comments

Comments
 (0)