From 2eea123715309ebfb8d39691a1bb35a8306360bd Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sun, 14 Feb 2016 12:43:27 +0100 Subject: No need to check NON_INT arg there; it would have already returned --- SBO-Lib/lib/SBO/Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib/SBO/Lib.pm') diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 1355a38..e380e25 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -1359,7 +1359,7 @@ sub process_sbos { # return now if we're not interactive return \@failures, $exit if $args{NON_INT}; # or if this is the last $sbo - return \@failures, $exit if !$args{NON_INT} and $count == @$todo; + return \@failures, $exit if $count == @$todo; say "Failure encountered while building $sbo:"; say " $fail"; print 'Do you want to proceed [n] '; -- cgit v1.2.3