File git-17-e8eb1690d77fc3880267de3912ae934ec3b4afa0.patch of Package aaa_base.2371

commit e8eb1690d77fc3880267de3912ae934ec3b4afa0
Author: Ruediger Oertel <ro@suse.de>
Date:   Thu Apr 7 17:02:20 2016 +0200

    chkconfig: return 1 trying to list unknown service (bnc#971567)

diff --git a/files/usr/bin/chkconfig b/files/usr/bin/chkconfig
index 4b7e4c0..1c99cbe 100755
--- a/files/usr/bin/chkconfig
+++ b/files/usr/bin/chkconfig
@@ -814,6 +814,7 @@ EOF
   for $s (@services) {
     if (!$known_rc{$s}) {
       print STDERR "$s: unknown service\n" unless $known_all{$s};
+      $status = 1;
       next;
     }
     my $line = "";
openSUSE Build Service is sponsored by