Mailinglist Archive: yast-commit (215 mails)

< Previous Next >
[yast-commit] r67964 - /branches/SuSE-Code-11-SP1-Branch/dns-server/src/DnsServer.pm
Author: locilka
Date: Tue Apr 17 17:10:55 2012
New Revision: 67964

URL: http://svn.opensuse.org/viewcvs/yast?rev=67964&view=rev
Log:
More bullet-proof solution for storing modified zones


Modified:
branches/SuSE-Code-11-SP1-Branch/dns-server/src/DnsServer.pm

Modified: branches/SuSE-Code-11-SP1-Branch/dns-server/src/DnsServer.pm
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/dns-server/src/DnsServer.pm?rev=67964&r1=67963&r2=67964&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/dns-server/src/DnsServer.pm (original)
+++ branches/SuSE-Code-11-SP1-Branch/dns-server/src/DnsServer.pm Tue Apr 17
17:10:55 2012
@@ -1270,6 +1270,14 @@

my $ok = 1;

+ foreach my $z (@zones) {
+ if (defined $z->{"modified"} and $z->{"modified"} == 1) {
+ y2milestone ("Some zones were modified");
+ $self->SetModified();
+ last;
+ }
+ }
+
if ((! $modified) && (! SuSEFirewall->GetModified()))
{
return $ok;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages