From dc84f05feda906773bd116105fe46d4fc1642a70 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 6 Jul 2015 13:14:18 -0500 Subject: [PATCH] changes check for src --- windows/win_acl.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/win_acl.ps1 b/windows/win_acl.ps1 index 130b17e8304..39530866c61 100644 --- a/windows/win_acl.ps1 +++ b/windows/win_acl.ps1 @@ -30,8 +30,8 @@ $result = New-Object psobject @{ If ($params.src) { $src = $params.src.toString() - If (-Not (Test-Path -Path $src -PathType Leaf -Or Test-Path -Path $src -PathType Container)) { - Fail-Json $result "$src is not a valid file or directory on the host" + If (-Not (Test-Path -Path $src)) { + Fail-Json $result "$src file or directory does not exist on the host" } } Else {