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 {