This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit df170b7e authored by Michael Kozono's avatar Michael Kozono
Browse files

Fix `ionice` prepend

parent ede17c04b950
......@@ -65,7 +65,7 @@ def build_find_command(search_dir)
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