From: martinahansen Date: Thu, 9 Feb 2012 11:20:31 +0000 (+0000) Subject: added force to rm of tmpdir X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4fdeb386dc869c75f87b0063a90557ffdeb1a312;p=biopieces.git added force to rm of tmpdir git-svn-id: http://biopieces.googlecode.com/svn/trunk@1749 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/lib/maasha/biopieces.rb b/code_ruby/lib/maasha/biopieces.rb index a2cb85d..7a0c50e 100644 --- a/code_ruby/lib/maasha/biopieces.rb +++ b/code_ruby/lib/maasha/biopieces.rb @@ -656,7 +656,7 @@ at_exit do status = Status.new tmpdir = status.get_tmpdir - FileUtils.remove_entry_secure(tmpdir) unless tmpdir.nil? + FileUtils.remove_entry_secure(tmpdir, true) unless tmpdir.nil? status.log(exit_status) status.delete end