Bertrand Gouny 9 years ago
parent
commit
6861e6e8a3
2 changed files with 2 additions and 2 deletions
  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