Skip to content

Commit

Permalink
updating plugin to work with Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpietzsch committed Dec 3, 2011
1 parent dc6fa29 commit 58abf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/db_backup.rake
Expand Up @@ -51,7 +51,7 @@ namespace :db do

answer = STDIN.getc

unless answer == 121 # == y
unless answer == 'y' || answer == 121 # == y
puts "Database restore cancelled."
exit
end
Expand Down

0 comments on commit 58abf27

Please sign in to comment.