From: Niclas Berglind Date: Thu, 11 Sep 2014 06:48:15 +0000 (+0200) Subject: Fix broken fstab entries. X-Git-Url: http://git.datanom.net/omvzfs.git/commitdiff_plain/37120b6638999bc50a93b5a5f4445f8795e521b2 Fix broken fstab entries. Signed-off-by: Niclas Berglind --- diff --git a/src/Utils.php b/src/Utils.php index 527d0f3..978901e 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -45,6 +45,7 @@ class OMVModuleZFSUtil { foreach($out as $name) { $pooluuid = OMVModuleZFSUtil::getUUIDbyName($name); if (isset($pooluuid)) { + $pooluuid = "UUID=" . $pooluuid; $xpath = "//system/fstab/mntent[fsname=" . $pooluuid . "]"; $object = $xmlConfig->get($xpath); if(is_null($object)) {