[pve-devel] [PATCH pve-container 2/6] LXCSetup::Debian: style fix & removed unused vars

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Jul 24 09:14:54 CEST 2015


---
 src/PVE/LXCSetup/Debian.pm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/PVE/LXCSetup/Debian.pm b/src/PVE/LXCSetup/Debian.pm
index f682022..21da86f 100644
--- a/src/PVE/LXCSetup/Debian.pm
+++ b/src/PVE/LXCSetup/Debian.pm
@@ -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;
-- 
2.1.4





More information about the pve-devel mailing list