From: Dietmar Maurer Date: Tue, 3 Oct 2017 10:04:47 +0000 (+0200) Subject: PVE/Subscription.pm - check if we have a key X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;ds=sidebyside;h=335a2219ceecdaf3196ef6b7f0fe7425a6934db8;hp=554cce0c4c3f575f0f1f23f7476e9606812573db;p=pve-common.git PVE/Subscription.pm - check if we have a key --- diff --git a/src/PVE/Subscription.pm b/src/PVE/Subscription.pm index 1fa933a..1571152 100644 --- a/src/PVE/Subscription.pm +++ b/src/PVE/Subscription.pm @@ -154,7 +154,7 @@ sub read_subscription { $data .= $line; } - if ($csum && $data) { + if ($key && $csum && $data) { chomp $csum;