Merge pull request #1208 from h0nIg/devel_win_nssm
win_nssm: account get fix
This commit is contained in:
commit
e1b9788f7b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue