Skip to content

Commit

Permalink
Added rm of backup file
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Sep 24, 2011
1 parent efa3451 commit 746205f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/backup.rake
Expand Up @@ -165,6 +165,7 @@ namespace "cms" do
rescue Exception => e
raise "Error copying files to s3: " + e.to_s
end
FileUtils.rm("#{RAILS_ROOT}/backup/#{backup_dir}.tar.gz")
else
raise 'Invalid Backup server type'
end
Expand Down

0 comments on commit 746205f

Please sign in to comment.