Bertrand Gouny 9 年之前
父节点
当前提交
6861e6e8a3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      image/service/slapd/assets/schema-to-ldif.sh
  2. 1 1
      image/service/slapd/startup.sh

+ 1 - 1
image/service/slapd/assets/schema-to-ldif.sh

@@ -21,7 +21,7 @@ done
 slaptest -f convert.dat -F .
 
 if [ $? -ne 0 ] ; then
-    echo "slaptest conversion failed"
+    log-helper error "slaptest conversion failed"
     exit
 fi
 

+ 1 - 1
image/service/slapd/startup.sh

@@ -165,7 +165,7 @@ EOF
     for f in $(find ${CONTAINER_SERVICE_DIR}/slapd/assets/config/bootstrap/schema -name \*.schema -type f); do
       SCHEMAS="$SCHEMAS ${f}"
     done
-    ${CONTAINER_SERVICE_DIR}/slapd/assets/schema-to-ldif.sh "$SCHEMAS" | log-helper debug
+    ${CONTAINER_SERVICE_DIR}/slapd/assets/schema-to-ldif.sh "$SCHEMAS"
 
     # add converted schemas
     for f in $(find ${CONTAINER_SERVICE_DIR}/slapd/assets/config/bootstrap/schema -name \*.ldif -type f); do