Skip to content

Commit

Permalink
not using secure flag for rm_f, since it isn't valid
Browse files Browse the repository at this point in the history
  • Loading branch information
shatterednirvana committed May 3, 2012
1 parent b58baec commit aceece4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common_functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def self.clear_app(app_path, force=false)
return if !File.exists?(app_path)
return if app_path !~ /\A\/tmp/ and !force
path_to_remove = File.dirname(app_path)
FileUtils.rm_f(path_to_remove, :secure => true)
FileUtils.rm_f(path_to_remove)
end


Expand Down

0 comments on commit aceece4

Please sign in to comment.