diff --git a/nvm.sh b/nvm.sh index 7e9d1d0..78374e0 100644 --- a/nvm.sh +++ b/nvm.sh @@ -2166,7 +2166,7 @@ nvm() { return 11 fi fi - if [ -n "$NVM_USE_OUTPUT" ]; then + if [ -n "${NVM_USE_OUTPUT-}" ]; then nvm_echo "$NVM_USE_OUTPUT" fi ;;