Răsfoiți Sursa

Applying NPTest.pm patch (fix for unconfigured variables) from github
user dermouth.

abrist 12 ani în urmă
părinte
comite
c13f3c1ca1
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      NPTest.pm

+ 1 - 1
NPTest.pm

@@ -347,7 +347,7 @@ sub getTestParameter
   }
   }
 
 
   # Set "none" if no terminal attached (eg, tinderbox build servers when new variables set)
   # Set "none" if no terminal attached (eg, tinderbox build servers when new variables set)
-  return "" unless (-t STDERR);
+  return "" unless (-t STDIN);
 
 
   my $userResponse = "";
   my $userResponse = "";