mirror of
https://github.com/actions/runner.git
synced 2025-12-10 04:06:57 +00:00
Update safe_sleep.sh for bug when scheduler is paused for more than 1 second (#3157)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
SECONDS=0
|
||||
while [[ $SECONDS != $1 ]]; do
|
||||
while [[ $SECONDS -lt $1 ]]; do
|
||||
:
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user