]> git.proxmox.com Git - pve-cluster.git/blobdiff - src/PVE/Cluster.pm
cfs_write_file: fix accidental UTF-8 re-encoding
[pve-cluster.git] / src / PVE / Cluster.pm
index 4c828c185f4c82e4cad654d5f7ddaff4cbaa096b..f899dbecae923c577ddc6473cc933abbb4e89d95 100644 (file)
@@ -594,7 +594,7 @@ sub cfs_write_file {
        $ci->{version} = undef;
     }
 
-    PVE::Tools::file_set_contents($fsname, $raw, undef, 1);
+    PVE::Tools::file_set_contents($fsname, $raw, undef, $force_utf8);
 }
 
 my $cfs_lock = sub {