]> git.proxmox.com Git - pve-container.git/commitdiff
LXCSetup::Debian: style fix & removed unused vars
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 24 Jul 2015 07:14:54 +0000 (09:14 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 24 Jul 2015 11:04:13 +0000 (13:04 +0200)
src/PVE/LXCSetup/Debian.pm

index f6820228a27efaad5a1d1a5fc700233f165c88eb..21da86f8f29e6b1920f2b1712e1d0b4a07327683 100644 (file)
@@ -134,11 +134,9 @@ sub setup_network {
        }
     }
 
-     return if !scalar(keys %$networks);
+    return if !scalar(keys %$networks);
 
     my $filename = "$rootdir/etc/network/interfaces";
-    my $data = {};
-    my $order = [];
     my $interfaces = "";
 
     my $section;