lib/coderunner/run.rb in coderunner-0.16.17 vs lib/coderunner/run.rb in coderunner-0.16.18

- old
+ new

@@ -291,10 +291,10 @@ puts 'Results file possibly corrupted for ' + @run_name end end @running = (@@current_status =~ Regexp.new(@job_no.to_s)) ? true : false - if methods.include? :get_run_status + if @running and methods.include? :get_run_status @status = get_run_status(@job_no, @@current_status) rescue :Unknown else @status ||= :Unknown end #logi '@@current_status', @@current_status, '@job_no', @job_no