From 562a1fc87d0269ce5fb1561fea45f8d01f4889de Mon Sep 17 00:00:00 2001 From: Frederic Van Espen Date: Thu, 7 Mar 2019 09:51:53 +0100 Subject: [PATCH] fix option test --- lib/backup/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"