Commit 81f061d5 authored by Michael Kozono's avatar Michael Kozono

Fix `ionice` prepend

parent 2b481e7b
...@@ -65,7 +65,7 @@ module Gitlab ...@@ -65,7 +65,7 @@ module Gitlab
tmp_path = "#{UPLOAD_DIR}/tmp/*" tmp_path = "#{UPLOAD_DIR}/tmp/*"
cmd = %W[find #{search_dir} -type f ! ( -path #{hashed_path} -prune ) ! ( -path #{tmp_path} -prune ) -print0] cmd = %W[find #{search_dir} -type f ! ( -path #{hashed_path} -prune ) ! ( -path #{tmp_path} -prune ) -print0]
%w[ionice -c Idle] + cmd if ionice_is_available? cmd = %w[ionice -c Idle] + cmd if ionice_is_available?
cmd cmd
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment