reduce sleep on file difference check
This commit is contained in:
parent
5888efa3d7
commit
c1793c5306
@ -216,7 +216,7 @@ if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then
|
|||||||
until [[ $while_count -lt $current_count ]] # Wait for a change in the file BEFORE continuing
|
until [[ $while_count -lt $current_count ]] # Wait for a change in the file BEFORE continuing
|
||||||
do
|
do
|
||||||
current_count=$(head -n 1 temp.txt)
|
current_count=$(head -n 1 temp.txt)
|
||||||
sleep 2
|
sleep 1
|
||||||
done
|
done
|
||||||
while_count=$current_count
|
while_count=$current_count
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user