summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Van Espen <fes@escaux.com>2019-03-07 09:51:53 +0100
committerFrederic Van Espen <fes@escaux.com>2019-03-07 09:51:53 +0100
commit562a1fc87d0269ce5fb1561fea45f8d01f4889de (patch)
tree0d86c217abfef2c07fcc5071260d67e5c94d17e3
parent935b69838488f13586541114e0293e5ef6d79f43 (diff)
downloadgitlab-ce-562a1fc87d0269ce5fb1561fea45f8d01f4889de.tar.gz
fix option test
-rw-r--r--lib/backup/helper.rb2
1 files changed, 1 insertions, 1 deletions
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"