diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 1b5dc66..c30d37a 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -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; }