mmdebstrap: check for defined-ness before integer comparison
This commit is contained in:
parent
165cc82f97
commit
85328c5c7e
1 changed files with 1 additions and 1 deletions
|
@ -3972,7 +3972,7 @@ sub get_sourceslist_by_suite {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close $fh;
|
close $fh;
|
||||||
if ($matching_version >= 11) {
|
if (defined $matching_version and $matching_version >= 11) {
|
||||||
$bullseye_or_later = 1;
|
$bullseye_or_later = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue