diff --git a/PVE/CephConfig.pm b/PVE/CephConfig.pm index 5b2d19e..b420fcc 100644 --- a/PVE/CephConfig.pm +++ b/PVE/CephConfig.pm @@ -14,6 +14,7 @@ sub parse_ceph_config { my ($filename, $raw) = @_; my $cfg = {}; + return $cfg if !defined($raw); my @lines = split /\n/, $raw;