fix /proc/mounts regex to find binfmt_misc

pull/1/head
parent d26f5de912
commit a0c393f256
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -3298,9 +3298,9 @@ sub main() {
or error "failed to open /proc/mounts: $!"; or error "failed to open /proc/mounts: $!";
unless ( unless (
grep { grep {
/^binfmt_misc /^binfmt_misc\s+
\/proc\/sys\/fs\/binfmt_misc \/proc\/sys\/fs\/binfmt_misc\s+
binfmt_misc/x binfmt_misc\s+/x
} (<$fh>) } (<$fh>)
) { ) {
warning "binfmt_misc not found in /proc/mounts -- not" warning "binfmt_misc not found in /proc/mounts -- not"

Loading…
Cancel
Save