Skip to content

Commit c6c4dab

Browse files
committed
ci: fix variable in install-windows-updates script
1 parent 62ac34d commit c6c4dab

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ run_powershell_command_with_logging 'Install-Module -Name PSWindowsUpdate -Minim
8989
updates_remaining=$(get_windows_updates_remaining)
9090
echo "Windows Updates to install: ${updates_remaining}" >&2
9191

92-
while [[ updates_remaining -ne 0 ]]; do
92+
while [[ ${updates_remaining} -ne 0 ]]; do
9393
set +e # ignore unreachable agent if the vm just went down for reboot
9494
run_powershell_command_with_logging "Install-WindowsUpdate -AcceptAll -AutoReboot"
9595
set -e

0 commit comments

Comments
 (0)