From a0c393f256c4ef7c691f9a7bcab22f1052f8b78c Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 10 Apr 2020 12:25:45 +0200 Subject: [PATCH] fix /proc/mounts regex to find binfmt_misc --- mmdebstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 96de282..e5b1437 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -3298,9 +3298,9 @@ sub main() { or error "failed to open /proc/mounts: $!"; unless ( grep { - /^binfmt_misc - \/proc\/sys\/fs\/binfmt_misc - binfmt_misc/x + /^binfmt_misc\s+ + \/proc\/sys\/fs\/binfmt_misc\s+ + binfmt_misc\s+/x } (<$fh>) ) { warning "binfmt_misc not found in /proc/mounts -- not"