diff options
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index e78eb2e8a..1de89e42a 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -257,7 +257,7 @@ sub ask_from_entries_ref($$$$;$%) { add2hash_($_, { not_edit => 1, type => 'list' }); ${$_->{val}} = $_->{list}[0] if $_->{not_edit} && !member(${$_->{val}}, @{$_->{list}}); } elsif ($_->{type} eq 'range') { - $_->{min} <= $_->{max} or die "bad range (called from " . caller() . ")"; + $_->{min} <= $_->{max} or die "bad range min $_->{min} > max $_->{max} (called from " . join(':', caller()) . ")"; ${$_->{val}} = max($_->{min}, min(${$_->{val}}, $_->{max})); } $_; |