fix /proc/mounts regex to find binfmt_misc
This commit is contained in:
parent
d26f5de912
commit
a0c393f256
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue