mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-12 18:20:02 -04:00
Fix NPTest.pm not asking for unconfigured variables
It appeats STDERR isn't a tty anymore during tests, but since we type from tty to STDIN it should be bound to our tty (and works for me).
This commit is contained in:
parent
bb38a57352
commit
ce3eaa25e1
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ sub getTestParameter
|
|||
}
|
||||
|
||||
# Set "none" if no terminal attached (eg, tinderbox build servers when new variables set)
|
||||
return "" unless (-t STDERR);
|
||||
return "" unless (-t STDIN);
|
||||
|
||||
my $userResponse = "";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue