summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2017-06-26 19:26:39 +0100
committerGitHub <noreply@github.com>2017-06-26 19:26:39 +0100
commitba453452f0923bc8269c7f29bc58ade3ba589b03 (patch)
tree58550af91b8f559479c7c6035add4ab359d83d69
parent4b49b96ca12ba187372fce18e668467dae6662cc (diff)
downloadansible-ba453452f0923bc8269c7f29bc58ade3ba589b03.tar.gz
Missing Else statement (#25457) (#26113)
Missing the final Else statement in the conditional statement (cherry picked from commit e391206accaee14742ecc9013c1af3b62074d18c)
-rw-r--r--lib/ansible/modules/windows/win_acl.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/modules/windows/win_acl.ps1 b/lib/ansible/modules/windows/win_acl.ps1
index 38ad08fe8f..43e1d12fbe 100644
--- a/lib/ansible/modules/windows/win_acl.ps1
+++ b/lib/ansible/modules/windows/win_acl.ps1
@@ -84,6 +84,7 @@ Function UserSearch
return $apppoolobj.applicationPoolSid
}
}
+ Else
{
#Search by samaccountname
$Searcher = [adsisearcher]""