diff options
-rwxr-xr-x | scripts/resolve_bugs.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/resolve_bugs.pl b/scripts/resolve_bugs.pl index 31f38aae8..70ed30c23 100755 --- a/scripts/resolve_bugs.pl +++ b/scripts/resolve_bugs.pl @@ -57,12 +57,15 @@ if ($bug_count == 0) { exit 1; } -print STDERR <<EOF; +# if running from commmand line +if (-t STDIN) { + print STDERR <<EOF; About to resolve $bug_count bugs as $resolution Press <Ctrl-C> to stop or <Enter> to continue... EOF -getc(); + getc(); +} foreach my $row (@$data) { my $bug_id = shift @$row; |