]> git.datanom.net - omvzfs.git/blobdiff - src/Utils.php
Fix broken fstab entries.
[omvzfs.git] / src / Utils.php
index 527d0f34890fea6258e446c289dd44e682629148..978901e18d44d118827db44896976e46daf7e8a0 100644 (file)
@@ -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)) {
This page took 0.167402 seconds and 5 git commands to generate.