diff options
Diffstat (limited to 'scripts/mkln.sh')
-rwxr-xr-x | scripts/mkln.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkln.sh b/scripts/mkln.sh index 129a706..b5806a6 100755 --- a/scripts/mkln.sh +++ b/scripts/mkln.sh @@ -83,7 +83,7 @@ target=$(wslpath -w $(dirname $2))\\$(basename $2) if ls -la "$(dirname $2)/" 2>/dev/null | grep -q "$(basename $2)"; then - current_path=$(powershell.exe -c "(Get-Item $target).Target") + current_path=$(powershell.exe -c "(Get-Item $target).Target" 2>/dev/null) if [[ "${current_path/*wsl$/}" == *"${source/*wsl$/}"* ]]; then [ "$VERBOSE" == true ] && echo "$(basename $2) is set correctly. Skipping." |