be more permissive in the FAKECHROOT_DETECT version format

pull/19/head
parent 631b103ca7
commit c7390f648b
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -4591,7 +4591,7 @@ sub main() {
my $content = do { local $/; <$rfh> };
waitpid $pid, 0;
my $result = 0;
if ($? == 0 and $content =~ /^fakechroot \d\.\d+$/) {
if ($? == 0 and $content =~ /^fakechroot [0-9.]+$/) {
$result = 1;
}
return $result;

Loading…
Cancel
Save