File git-25-106a00da1df540677b39e94037868a55f92bf648.patch of Package aaa_base.4074
commit 106a00da1df540677b39e94037868a55f92bf648
Author: Ruediger Oertel <ro@suse.de>
Date: Thu Sep 15 16:49:01 2016 +0200
fix regression introduced by fix for bnc#971567 (bnc#996442)
diff --git a/files/usr/bin/chkconfig b/files/usr/bin/chkconfig
index b8ab509..99d0bb7 100755
--- a/files/usr/bin/chkconfig
+++ b/files/usr/bin/chkconfig
@@ -818,9 +818,11 @@ EOF
}
for $s (@services) {
if (!$known_rc{$s}) {
- print STDERR "$s: unknown service\n" unless $known_all{$s};
- $status = 1;
- next;
+ if (!$known_all{$s}) {
+ print STDERR "$s: unknown service\n";
+ $status = 1;
+ next;
+ }
}
my $line = "";
my $l;