From 335a2219ceecdaf3196ef6b7f0fe7425a6934db8 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 3 Oct 2017 12:04:47 +0200 Subject: [PATCH] PVE/Subscription.pm - check if we have a key --- src/PVE/Subscription.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2