Skip to content

Commit

Permalink
fix sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Nov 1, 2023
1 parent 4bfa8bf commit fc85fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/reflector/refresh-mirrors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ fi
while true; do
echo "[$(date -Iseconds)] Refreshing mirrorlist..."
reflector $REFLECTOR_ARGS
echo "[$(date -Iseconds)] Sleeping for $INTERVAL..."
sleep $INTERVAL
echo "[$(date -Iseconds)] Sleeping for $REFLECTOR_INTERVAL..."
sleep $REFLECTOR_INTERVAL
done

0 comments on commit fc85fc1

Please sign in to comment.