Skip to content

Commit

Permalink
properly prepare environment for reseting, fix #1277
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Nov 12, 2012
1 parent b1b3564 commit c154082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rvm
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ then
then
[[ "${rvm_auto_reload_flag:-0}" == 2 ]] || printf "%b" 'RVM reloaded!\n'
# make sure we clean env on reload
__rvm_env_loaded=1
__rvm_env_loaded=2 # 2 => double teardown, here + cli
unset __rvm_project_rvmrc_lock
fi

Expand Down

0 comments on commit c154082

Please sign in to comment.