#81: use "rm -rf" for removing dir
This commit is contained in:
parent
33bf06659b
commit
2b16c3f29f
|
@ -47,7 +47,7 @@ class KeyPair < ActiveRecord::Base
|
|||
end
|
||||
ensure
|
||||
# remove the directory.
|
||||
FileUtils.remove_entry_secure dir
|
||||
system "rm -rf #{dir}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue