diff --git a/lib/backup/helper.rb b/lib/backup/helper.rb index 9e10822f56c..a375b58268e 100644 --- a/lib/backup/helper.rb +++ b/lib/backup/helper.rb @@ -31,7 +31,7 @@ module Backup end def gzip_cmd - @gzip_cmd ||= if ENV['GZIP_RSYNCABLE'] = 'yes' + @gzip_cmd ||= if ENV['GZIP_RSYNCABLE'] == 'yes' "gzip --rsyncable -c -1" else "gzip -c -1"