Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Van Espen <fes@escaux.com>2019-03-07 11:51:53 +0300
committerFrederic Van Espen <fes@escaux.com>2019-03-07 11:51:53 +0300
commit562a1fc87d0269ce5fb1561fea45f8d01f4889de (patch)
tree0d86c217abfef2c07fcc5071260d67e5c94d17e3 /lib/backup
parent935b69838488f13586541114e0293e5ef6d79f43 (diff)
fix option test
Diffstat (limited to 'lib/backup')
-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"