Better log description of Pending Reboot
parent
d6ea9b9e67
commit
2b6e92bc72
|
@ -32,7 +32,7 @@ Function Update-App ($app) {
|
||||||
$PendingReboot = Test-PendingReboot
|
$PendingReboot = Test-PendingReboot
|
||||||
if ($PendingReboot -eq $true) {
|
if ($PendingReboot -eq $true) {
|
||||||
$FailedToUpgrade = $true
|
$FailedToUpgrade = $true
|
||||||
Write-Log "A Pending Reboot prohibited $($app.Id) from upgrading..." "Red"
|
Write-Log "A Pending Reboot probably prohibited $($app.Id) from upgrading..." "Red"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
#If app failed to upgrade, run Install command
|
#If app failed to upgrade, run Install command
|
||||||
|
|
Loading…
Reference in New Issue