Skip to content

Commit

Permalink
Shut your trap!
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Mar 2, 2011
1 parent 5f9b276 commit 1689dd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/base
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ done

unset scripts entry rvm_base_except

# Cleanup tmp on exit.
trap "__rvm_cleanup_tmp '$$'" 0 1 2 3 15
if [[ ${rvm_interactive_flag} -eq 0 ]]; then
# Cleanup tmp on exit.
trap "__rvm_cleanup_tmp '$$'" 0 1 2 3 15
fi

0 comments on commit 1689dd5

Please sign in to comment.