[yast-commit] r59708 - /trunk/apparmor/src/perl/Notify.pm
Author: kmachalkova Date: Mon Nov 23 15:50:25 2009 New Revision: 59708 URL: http://svn.opensuse.org/viewcvs/yast?rev=59708&view=rev Log: correct condition (bnc#531512) Modified: trunk/apparmor/src/perl/Notify.pm Modified: trunk/apparmor/src/perl/Notify.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/apparmor/src/perl/Notify.pm?rev=59708&r1=59707&r2=59708&view=diff ============================================================================== --- trunk/apparmor/src/perl/Notify.pm (original) +++ trunk/apparmor/src/perl/Notify.pm Mon Nov 23 15:50:25 2009 @@ -167,8 +167,8 @@ next; } } elsif ( $val eq $level ) { - if ( ! ($config->{$type}->{$val} =~ /\d\d/ && - $config->{$type}->{$val} < 11) ) { + if ( ($config->{$type}->{$val} =~ /\d\d/ && + $config->{$type}->{$val} > 10) ) { $config->{$type}->{$val} = 0; } } elsif ( $val eq $unk ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org