X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dac7b05f1c32143069d20378a895171e978033cc..9ec9d36e9f236613fc67256ebdb75b3d1e2bec35:/services/api/script/crunch-dispatch.rb diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb index 33f53692bc..bb7ce7e12d 100755 --- a/services/api/script/crunch-dispatch.rb +++ b/services/api/script/crunch-dispatch.rb @@ -17,6 +17,8 @@ if not ($options[:jobs] or $options[:pipelines]) abort "Nothing to do. Please specify at least one of: --jobs, --pipelines." end +ARGV.reject! { |a| a =~ /--jobs|--pipelines/ } + $warned = {} $signal = {} %w{TERM INT}.each do |sig|