lib/katello/tasks/upgrade_check.rake in katello-3.1.0.1 vs lib/katello/tasks/upgrade_check.rake in katello-3.2.0.rc1

- old
+ new

@@ -9,10 +9,11 @@ puts "This script makes no modifications and can be re-run multiple times for the most up to date results." puts "Checking upgradeability...\n\n" # check for any running tasks task_count = ::ForemanTasks::Task.active.where("label != '#{CP_LISTEN_ACTION}'").count - task_status = task_count > 1 ? fail : success + task_status = task_count > 0 ? fail : success puts "Checking for running tasks..." - puts "[#{task_status}] - There are #{task_count} active tasks.\n\n" + puts "[#{task_status}] - There are #{task_count} active tasks. " + puts " Please wait for these to complete or cancel them from the Monitor tab.\n\n" end end