lib/mysql_backup.rb in mysql_backups-1.1.0 vs lib/mysql_backup.rb in mysql_backups-1.1.2

- old
+ new

@@ -41,10 +41,10 @@ def create_backup password = '' password = "-p#{@config.password}" if @config.password? options = '--skip-comments' tables = @config.tables.join ' ' - run! "mysqldump -u #{@config.username} #{password} --host=#{@config.server} #{options} #{@config.database} #{tables} | gzip > #{tmp_path}; exit ${PIPESTATUS[0]}" + run! "mysqldump -u #{@config.username} #{password} --host=#{@config.server} #{options} #{@config.database} #{tables} | gzip > #{tmp_path}" end def save(to_dir) if _remote_path? to_dir dest = File.join(to_dir, filename)