From c7390f648be9f1a5b9db6cca887b804f35572b10 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 16 Sep 2021 16:12:20 +0200 Subject: [PATCH] be more permissive in the FAKECHROOT_DETECT version format --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index bd807a7..45c6236 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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;