From 4fdeb386dc869c75f87b0063a90557ffdeb1a312 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 9 Feb 2012 11:20:31 +0000 Subject: [PATCH] added force to rm of tmpdir git-svn-id: http://biopieces.googlecode.com/svn/trunk@1749 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/biopieces.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5