]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/VZDump/LXC.pm
fix various perlcritic lints
[pve-container.git] / src / PVE / VZDump / LXC.pm
index 657f25008cd4830594d52c52192db08a7022d181..5783ffaf342f783c077d02d54812ea43bd0f4be1 100644 (file)
@@ -70,7 +70,7 @@ sub new {
     PVE::VZDump::check_bin('lxc-stop');
     PVE::VZDump::check_bin('lxc-start');
 
-    my $self = bless {};
+    my $self = bless {}, $class;
 
     $self->{vzdump} = $vzdump;
     $self->{storecfg} = PVE::Storage::config();