fix option test

This commit is contained in:
Frederic Van Espen 2019-03-07 09:51:53 +01:00
parent 935b698384
commit 562a1fc87d

View file

@ -31,7 +31,7 @@ module Backup
end end
def gzip_cmd def gzip_cmd
@gzip_cmd ||= if ENV['GZIP_RSYNCABLE'] = 'yes' @gzip_cmd ||= if ENV['GZIP_RSYNCABLE'] == 'yes'
"gzip --rsyncable -c -1" "gzip --rsyncable -c -1"
else else
"gzip -c -1" "gzip -c -1"