diff --git a/PVE/Storage/PBSPlugin.pm b/PVE/Storage/PBSPlugin.pm index b90a2dd..21a2a0a 100644 --- a/PVE/Storage/PBSPlugin.pm +++ b/PVE/Storage/PBSPlugin.pm @@ -210,7 +210,11 @@ sub pbs_open_master_pubkey { my $keyfd; if (!open($keyfd, '<', $master_pubkey_file)) { - return undef if $! == ENOENT; + if ($! == ENOENT) { + warn "master public key configured but no key file found!\n" + if $scfg->{'master-pubkey'}; + return undef; + } die "failed to open master public key: $master_pubkey_file: $!\n"; }