summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index f59e62c1c3..e8caf90e03 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -336,7 +336,7 @@ if ($sum_results['FAILED'] && !getenv('NO_INTERACTION')) {
*/
/* Ask the user to provide an email address, so that QA team can contact the user */
- if (!strncasecmp($user_input, 'y', 1)) {
+ if (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
echo "Please enter your email address: ";
flush();
$fp = fopen("php://stdin", "r+");