lib/right_chimp/Chimp.rb in right_chimp-2.1.22 vs lib/right_chimp/Chimp.rb in right_chimp-2.1.22.1

- old
+ new

@@ -999,11 +999,11 @@ # # Some workers failed; offer the user a chance to retry them # verify("The following objects failed:", results_display, false) unless @paused - unless @prompt + if !@prompt || @paused @paused = true return "pause" end while true @@ -1016,9 +1016,10 @@ # if command is nil, stdin is closed or its source ended # probably because we are in an automated environment, # then we pause like in '--no-prompt' scenario # puts 'Warning! stdin empty, using pause behaviour, use --no-prompt to avoid this message' + @paused = true return 'pause' end if command =~ /^a/i puts "Aborting!"