[pve-devel] [PATCH guest-common] replication: enable errors in cfs_read_file
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Nov 8 09:51:32 CET 2017
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
PVE/ReplicationConfig.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/ReplicationConfig.pm b/PVE/ReplicationConfig.pm
index 51cfe81..51fcf25 100644
--- a/PVE/ReplicationConfig.pm
+++ b/PVE/ReplicationConfig.pm
@@ -173,7 +173,7 @@ sub new {
my $class = ref($type) || $type;
- my $cfg = cfs_read_file($replication_cfg_filename);
+ my $cfg = cfs_read_file($replication_cfg_filename, 0);
return bless $cfg, $class;
}
--
2.11.0
More information about the pve-devel
mailing list