mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Merge branch 'master' into issue3034
This commit is contained in:
commit
5f7d419458
2
nvm.sh
2
nvm.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user