Skip to content

Commit

Permalink
Merge branch 'master' into issue3034
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-mit authored Aug 27, 2023
2 parents b42c165 + 1eaaada commit 5f7d419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2784,7 +2784,7 @@ nvm_check_file_permissions() {
if [ -n "${NVM_DEBUG-}" ]; then
nvm_err "${FILE}"
fi
if ! nvm_check_file_permissions "${FILE}"; then
if [ ! -L "${FILE}" ] && ! nvm_check_file_permissions "${FILE}"; then
return 2
fi
elif [ -e "$FILE" ] && [ ! -w "$FILE" ] && [ ! -O "$FILE" ]; then
Expand Down

0 comments on commit 5f7d419

Please sign in to comment.