]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/PBSPlugin.pm
pbs: die if master key is missing
[pve-storage.git] / PVE / Storage / PBSPlugin.pm
index 21a2a0aada9d47d21ed33634ec4c15d665674aef..afc6ea408d282a6fbc4c4375b4c219bef24f4688 100644 (file)
@@ -211,7 +211,7 @@ sub pbs_open_master_pubkey {
     my $keyfd;
     if (!open($keyfd, '<', $master_pubkey_file)) {
        if ($! == ENOENT) {
-           warn "master public key configured but no key file found!\n"
+           die "master public key configured but no key file found!\n"
                if $scfg->{'master-pubkey'};
            return undef;
        }