PVE/Subscription.pm - check if we have a key
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 3 Oct 2017 10:04:47 +0000 (12:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 3 Oct 2017 10:55:17 +0000 (12:55 +0200)
src/PVE/Subscription.pm

index 1fa933a..1571152 100644 (file)
@@ -154,7 +154,7 @@ sub read_subscription {
        $data .= $line;
     }
 
-    if ($csum && $data) {
+    if ($key && $csum && $data) {
 
        chomp $csum;