Skip to content

Commit 46c2f51

Browse files
committed
ci: one more try with the bash (inner) loop
1 parent e027b3f commit 46c2f51

File tree

1 file changed

+2
-2
lines changed
  • ci/tasks/install-windows-updates

1 file changed

+2
-2
lines changed

ci/tasks/install-windows-updates/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ while [[ ${updates_remaining} -ne 0 ]]; do
9999

100100
wait_for_vm_to_come_up
101101

102-
updates_remaining=""
103-
while [[ "${updates_remaining}" != "null" ]] ; do
102+
updates_remaining="checking-for-update-count"
103+
until [[ "${updates_remaining}" =~ ^[0-9]+$ ]] ; do
104104
set +e # ignore failures here since the vmware tools agent may be down while updates are being applied
105105
updates_remaining=$(get_windows_updates_remaining)
106106
set -e

0 commit comments

Comments
 (0)