]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/INotify.pm
fixup: don't use exists boolean
[pve-common.git] / src / PVE / INotify.pm
index 330085066f29f461329494084d7a654c0149e7a3..6892b4c6bf25eb517a881874437aaf9e56e0e32f 100644 (file)
@@ -1385,7 +1385,7 @@ sub __write_etc_network_interfaces {
            my $n = $ifaces->{$p};
 
            die "vlan '$iface' - unable to find parent '$p'\n"
-               if $n->{exists} eq 0;
+               if !$n;
 
            if ($n->{type} eq 'bridge' && !$n->{bridge_vlan_aware}) {
                die "vlan '$iface' - bridge vlan aware is not enabled on parent '$p'\n";