Author: mzugec Date: Thu Sep 24 21:49:53 2009 New Revision: 58761 URL: http://svn.opensuse.org/viewcvs/yast?rev=58761&view=rev Log: fixed test condition Modified: trunk/network/src/lan/YaPI/NETWORK.pm Modified: trunk/network/src/lan/YaPI/NETWORK.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=58761&r1=58760&r2=58761&view=diff ============================================================================== --- trunk/network/src/lan/YaPI/NETWORK.pm (original) +++ trunk/network/src/lan/YaPI/NETWORK.pm Thu Sep 24 21:49:53 2009 @@ -116,7 +116,7 @@ # LanItems->Write(); YaST::YCP::Import ("NetworkInterfaces"); NetworkInterfaces->Read(); - NetworkInterfaces->Add() if NetworkInterfaces->Edit($dev) ne 1; + NetworkInterfaces->Add() unless NetworkInterfaces->Edit($dev); NetworkInterfaces->Name($dev); my %config=("STARTMODE" => "auto", "BOOTPROTO" => $args->{'interface'}->{$dev}->{'bootproto'}, -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org