Allow the same question t be asked by Solaris packages max 3 times

This commit is contained in:
Jamie Cameron
2007-05-03 16:39:28 +00:00
parent 856c3f3a40
commit e2d40329dd
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ while(1) {
}
if ($wf == 0) {
# some question which should not have appeared before
if ($seen{$matches[1]}++) {
if ($seen{$matches[1]}++ > 3) {
$failed++;
last;
}

View File

@@ -201,7 +201,7 @@ else {
'\n\/.*\n');
if ($wf == 0) {
# some question which should not have appeared before
if ($seen{$matches[1]}++) {
if ($seen{$matches[1]}++ > 3) {
$rv = "<pre>$old_input$wait_for_input</pre>";
last;
}