#81: use "rm -rf" for removing dir

This commit is contained in:
Vokhmin Alexey V 2013-04-05 18:03:45 +04:00
parent 33bf06659b
commit 2b16c3f29f
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class KeyPair < ActiveRecord::Base
end
ensure
# remove the directory.
FileUtils.remove_entry_secure dir
system "rm -rf #{dir}"
end
end