Skip to content
Browse files

work with directories as well

  • Loading branch information...
1 parent f43727a commit 81a5d7b9af19ced151d64425520b32949dd3dbee @theflow committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/backup/rotator.rb
View
2 lib/backup/rotator.rb
@@ -128,7 +128,7 @@ def cleanup_via_mv(where, num_keep)
1.upto( diff ) do
extra = files.shift
- rm extra
+ rm_r extra
end
end

0 comments on commit 81a5d7b

Please sign in to comment.
Something went wrong with that request. Please try again.