diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-20 10:56:28 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-20 10:56:28 -0500 |
commit | ce3eaa25e1c6f39b7a1266592de22c1bfbc48f5d (patch) | |
tree | 22a7e962a95c0d81daa196d721c6e96095f4b6f1 | |
parent | bb38a5735216c1a2eefc9449a5a6b49733674c16 (diff) | |
download | monitoring-plugins-ce3eaa25e1c6f39b7a1266592de22c1bfbc48f5d.tar.gz |
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).
-rw-r--r-- | NPTest.pm | 2 |
1 files changed, 1 insertions, 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 = ""; |