mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Grep mount binds differently #706
Related Virtualmin patch. [0900fdc](0900fdc083 (diff-d93c5e3420554c840d321dbc5e2fca0b))
This commit is contained in:
@@ -84,7 +84,7 @@ sub quota_can
|
||||
{
|
||||
my %exclude_mounts;
|
||||
if (&has_command("findmnt")) {
|
||||
%exclude_mounts = map { $_ => 1 } split( /\n/m, backquote_command('findmnt | grep -oP \'\[\K[^\]]+\'') );
|
||||
%exclude_mounts = map { $_ => 1 } split( /\n/m, backquote_command('findmnt -r | grep -oP \'^(\S+)(?=.*\[\/)\'') );
|
||||
}
|
||||
|
||||
# Not possible on bind mounts
|
||||
|
||||
Reference in New Issue
Block a user