]> git.proxmox.com Git - qemu-server.git/commitdiff
VZDump/QemuServer: set bless clas correctly
authorStefan Priebe <s.priebe@profihost.ag>
Wed, 16 Nov 2016 19:10:40 +0000 (20:10 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 17 Nov 2016 08:02:47 +0000 (09:02 +0100)
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
PVE/VZDump/QemuServer.pm

index 5322b37d2fc4ecf70a7b259dbdbb979f5da5c160..6a58a79e30cafad760dc659c2e92465976b2dbed 100644 (file)
@@ -22,7 +22,7 @@ sub new {
 
     PVE::VZDump::check_bin('qm');
 
-    my $self = bless { vzdump => $vzdump };
+    my $self = bless { vzdump => $vzdump }, $class;
 
     $self->{vmlist} = PVE::QemuServer::vzlist();
     $self->{storecfg} = PVE::Storage::config();