Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] r58761 - /trunk/network/src/lan/YaPI/NETWORK.pm
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Thu, 24 Sep 2009 19:49:54 -0000
  • Message-id: <E1MquKA-0000QM-7H@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages