mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-01-10 01:18:05 +03:00
allow optional slash in mount path
Seems NFS4 use that smetimes
This commit is contained in:
parent
db2ec87f83
commit
95e8e21cc5
@ -1761,7 +1761,7 @@ sub nfs_is_mounted {
|
||||
|
||||
$mountdata = read_proc_mounts() if !$mountdata;
|
||||
|
||||
if ($mountdata =~ m/^$source\s$mountpoint\snfs/m) {
|
||||
if ($mountdata =~ m|^$source/?\s$mountpoint\snfs|m) {
|
||||
return $mountpoint;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user