From 5f101959ff78e2c24e2559d868ff97d954e4c120 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski <75446+jpawlowski@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:21:56 +0200 Subject: [PATCH] end script block --- src/powershell-extended/Install-NerdFont.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powershell-extended/Install-NerdFont.ps1 b/src/powershell-extended/Install-NerdFont.ps1 index 8e3e65b..7c2172d 100755 --- a/src/powershell-extended/Install-NerdFont.ps1 +++ b/src/powershell-extended/Install-NerdFont.ps1 @@ -786,7 +786,7 @@ begin { Write-Host "Selection process canceled." if ($null -eq $MyInvocation.InvocationName -or $MyInvocation.InvocationName -eq '&') { # Running as a script block - break + return } else { # Running as a standalone script