Permalink
Browse files

Shut your trap!

  • Loading branch information...
1 parent 5f9b276 commit 1689dd59092852ea68cc5f086b1d8d299a03444b @wayneeseguin wayneeseguin committed Mar 2, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 scripts/base
View
@@ -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.