We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0fcf05 commit f530bd6Copy full SHA for f530bd6
rootfs/scripts/utils.sh
@@ -84,7 +84,7 @@ wait_for_lock() {
84
sleep 5
85
total_sleep_time=$((total_sleep_time + 5))
86
echo "It has been waiting for $total_sleep_time seconds zzz"
87
- if [$__timeout -gt 0] && [$total_sleep_time -gt $__timeout]; then
+ if [[ $__timeout -gt 0 && $total_sleep_time -gt $__timeout ]]; then
88
echo "[$__ticket_id] Total sleep time exceeded $__timeout seconds, exiting with code 1"
89
exit 1
90
fi
0 commit comments