From 5753a05625ec5a8da08039a5277b87ee6501b696 Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Thu, 5 Nov 2015 17:50:47 +0100 Subject: [PATCH] fixxed problem with match @ --- windows/win_nssm.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_nssm.ps1 b/windows/win_nssm.ps1 index bf4e798fca5..fa61afdaafc 100644 --- a/windows/win_nssm.ps1 +++ b/windows/win_nssm.ps1 @@ -352,7 +352,7 @@ Function Nssm-Update-Credentials } else { $fullUser = $user - If (-not($user -contains "@") -and ($user.Split("\").count -eq 1)) { + If (-Not($user.contains("@")) -And ($user.Split("\").count -eq 1)) { $fullUser = ".\" + $user }