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: $!";
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"

Loading…
Cancel
Save