diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-15 22:48:23 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-01-31 22:50:40 +0000 |
commit | 732a821d4f00f9812d014b6c58eae2f9a18f7ddd (patch) | |
tree | 85b72ed8b064df8c2c02386107a5ecbf67f599b9 /app/workers | |
parent | 120f9abaa15ce0feec1dc457ad3dc3787e4fbfc6 (diff) | |
download | gitlab-ce-732a821d4f00f9812d014b6c58eae2f9a18f7ddd.tar.gz |
Fix specs
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/pages_worker.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/workers/pages_worker.rb b/app/workers/pages_worker.rb index 9aa3030264b..c51ec81c9da 100644 --- a/app/workers/pages_worker.rb +++ b/app/workers/pages_worker.rb @@ -34,7 +34,8 @@ class PagesWorker # We manually extract the archive and limit the archive size with dd results = Open3.pipeline(%W(gunzip -c #{artifacts}), %W(dd bs=#{BLOCK_SIZE} count=#{blocks}), - %W(tar -x -C #{temp_path} public/)) + %W(tar -x -C #{temp_path} public/), + err: '/dev/null') return unless results.compact.all?(&:success?) # Check if we did extract public directory |