diff --git a/windows_to_go.ps1 b/windows_to_go.ps1 index 4438e39..7729efa 100644 --- a/windows_to_go.ps1 +++ b/windows_to_go.ps1 @@ -40,7 +40,7 @@ if (-not (Test-Path -Path "$env:userprofile\.ssh" -PathType Container)) { } # Delete empty QtPass default password-store -if ((Test-Path -Path "$env:userprofile\password-store" -PathType Container) -And -not (Test-Path -Path "$env:userprofile\password-store\*")) { +if ((Test-Path -Path "$env:userprofile\password-store" -PathType Container) -And -not (Test-Path -Path "$env:userprofile\password-store\.git")) { rm -r "$env:userprofile\password-store" }