[yast-commit] r67963 - /branches/SuSE-Code-11-SP2-Branch/dns-server/src/DnsServer.pm
Author: locilka Date: Tue Apr 17 17:10:42 2012 New Revision: 67963 URL: http://svn.opensuse.org/viewcvs/yast?rev=67963&view=rev Log: More bullet-proof solution for storing modified zones Modified: branches/SuSE-Code-11-SP2-Branch/dns-server/src/DnsServer.pm Modified: branches/SuSE-Code-11-SP2-Branch/dns-server/src/DnsServer.pm URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/dns-server/src/DnsServer.pm?rev=67963&r1=67962&r2=67963&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/dns-server/src/DnsServer.pm (original) +++ branches/SuSE-Code-11-SP2-Branch/dns-server/src/DnsServer.pm Tue Apr 17 17:10:42 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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn2.opensuse.org