]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/Subscription.pm
PVE/Subscription.pm - check if we have a key
[pve-common.git] / src / PVE / Subscription.pm
index 1fa933aa96ef173c0a18b1c6e0560fd9766a3d0f..15711524f570bb9bd5643a3de3463b55004d38ad 100644 (file)
@@ -154,7 +154,7 @@ sub read_subscription {
        $data .= $line;
     }
 
-    if ($csum && $data) {
+    if ($key && $csum && $data) {
 
        chomp $csum;