1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_acl - remove test return values

This commit is contained in:
Jordan Borean 2019-03-27 10:01:31 +10:00
parent 10f006036c
commit 1034b892df
No known key found for this signature in database
GPG key ID: 2AAC89085FBBDAB5

View file

@ -214,8 +214,6 @@ Try {
} }
} }
Catch { Catch {
$result.exception = ($_ | Out-String)
$result.test = ($pwd.Path)
Fail-Json -obj $result -message "an error occurred when attempting to $state $rights permission(s) on $path for $user - $($_.Exception.Message)" Fail-Json -obj $result -message "an error occurred when attempting to $state $rights permission(s) on $path for $user - $($_.Exception.Message)"
} }
Finally { Finally {