This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new d5b84ad -f suppresses errors
d5b84ad is described below
commit d5b84add14803093fc21e5f08e504ad21537a3bd
Author: Sebb <[email protected]>
AuthorDate: Wed May 1 22:05:22 2019 +0100
-f suppresses errors
---
tools/monthly_tidy.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/monthly_tidy.rb b/tools/monthly_tidy.rb
index dff3e6c..3394d03 100644
--- a/tools/monthly_tidy.rb
+++ b/tools/monthly_tidy.rb
@@ -18,7 +18,7 @@ MAIL = '/srv/mail'
Dir["#{MAIL}/board/20*", "#{MAIL}/members/20*"].each do |dir|
if File.basename(dir) < keep
begin
- FileUtils.rm_rf dir, :verbose => true
+ FileUtils.rm_r dir, :verbose => true
rescue => e
puts e
end