소스 검색

check for daemon error conditions

Ralf S. Engelschall 19 년 전
부모
커밋
16816333af
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      openldap/openldap.spec
  2. 2 2
      openldap/rc.openldap

+ 1 - 1
openldap/openldap.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      2.3.20
-Release:      20060219
+Release:      20060320
 
 #   package options
 %option       with_fsl   yes

+ 2 - 2
openldap/rc.openldap

@@ -48,12 +48,12 @@
         if [ $? -ne 0 -a ".$openldap_url" != . ]; then
             flags="$flags -h \"$openldap_url\""
         fi
-        eval @l_prefix@/libexec/openldap/slapd $flags
+        eval @l_prefix@/libexec/openldap/slapd $flags || exit $?
     fi
     openldap_slurpd_needed || exit 0
     openldap_slurpd_signal 0
     if [ $? -ne 0 ]; then
-        @l_prefix@/libexec/openldap/slurpd
+        @l_prefix@/libexec/openldap/slurpd || exit $?
     fi
 
 %stop -p 700 -u @l_susr@