Fixes for ZFS subpools

This commit is contained in:
bergware
2023-11-01 19:51:40 +01:00
parent 304be089ee
commit eef112fbd2
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ if ($saved) {
$text = '';
foreach ($saved as $item => $block) {
if ($block) $text .= "[$item]\n";
foreach ($block as $key => $value) $text .= str_replace('~','_-_',$key)."=\"$value\"\n";
foreach ($block as $key => $value) $text .= no_tilde($key)."=\"$value\"\n";
}
if ($text) {
if ($text != @file_get_contents($ram)) file_put_contents($ram, $text);