Merge pull request #1208 from h0nIg/devel_win_nssm

win_nssm: account get fix
This commit is contained in:
Toshio Kuratomi 2015-11-11 11:22:39 -08:00
commit e1b9788f7b

View file

@ -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
}