summaryrefslogtreecommitdiffstats
path: root/lib/aws_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/aws_helper.rb')
-rw-r--r--lib/aws_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aws_helper.rb b/lib/aws_helper.rb
index 8af39c834..2e90ba148 100644
--- a/lib/aws_helper.rb
+++ b/lib/aws_helper.rb
@@ -51,7 +51,7 @@ module OpenShift
def self.clear_inventory_cache()
path = "#{ENV['HOME']}/.ansible/tmp"
cache_files = ["#{path}/ansible-ec2.cache", "#{path}/ansible-ec2.index"]
- FileUtils.rm(cache_files)
+ FileUtils.rm_f(cache_files)
end
def self.generate_env_tag(env)