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

Fix `ionice` prepend

parent 2b481e7b
......@@ -65,7 +65,7 @@ module Gitlab
tmp_path = "#{UPLOAD_DIR}/tmp/*"
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
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