From 11e7facb9426a371efca7b97d8e521e84ddba330 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 25 Jun 2015 11:54:32 +0200 Subject: [PATCH 1/1] PVE::INotify::write_network_interfaces: readability --- src/PVE/INotify.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index 5fce0c8..4dd4036 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1304,12 +1304,10 @@ NETWORKDOC return $p1 <=> $p2 if $p1 != $p2; return $a cmp $b; - } keys %$ifaces) { - - my $d = $ifaces->{$iface}; - + } keys %$ifaces) { next if $printed->{$iface}; + my $d = $ifaces->{$iface}; if (@options && $options[0]->[0] < $d->{priority}) { do { $raw .= (shift @options)->[1] . "\n"; -- 2.39.2