File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9939,10 +9939,10 @@ function Set-HVApplicationIcon {
9939
9939
Write-Host "Some application(s) already have an association for the specified icon."
9940
9940
$ApplicationIconHelper.ApplicationIcon_UpdateAssociations($services, $applicationIconId, @($appInfo.Id))
9941
9941
Write-Host "Successfully updated customized icon association for Application:[$ApplicationName]."
9942
- break
9943
- }
9944
- Write-Host "Error in associating customized icon for Application:[$ApplicationName] $_"
9945
- break
9942
+ } else {
9943
+ Write-Host "Error in associating customized icon for Application:[$ApplicationName] $_"
9944
+ break
9945
+ }
9946
9946
}
9947
9947
Write-Host "Successfully associated customized icon for Application:[$ApplicationName]."
9948
9948
}
You can’t perform that action at this time.
0 commit comments