From 68bec52a7b4a7411c49ea79ae61761aa9c87ed72 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 9 Aug 2024 02:00:18 +0200 Subject: [PATCH] Show error properly --- scripts/Windows/Scripts/Users.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/Users.ps1 b/scripts/Windows/Scripts/Users.ps1 index 331494ad..6051f3eb 100644 --- a/scripts/Windows/Scripts/Users.ps1 +++ b/scripts/Windows/Scripts/Users.ps1 @@ -67,7 +67,8 @@ $null = New-Module { return $newUsers[$result - 1]; } } - + } else { + Write-Host ""; Write-Host "Unable to determine the new user"; Write-Host "Retrying…"; }