mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Allow the same question t be asked by Solaris packages max 3 times
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user