We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e775d12 commit 80fff0fCopy full SHA for 80fff0f
image/service/slapd/startup.sh
@@ -54,7 +54,7 @@ if [ ! -e "$FIRST_START_DONE" ]; then
54
}
55
56
function is_new_schema() {
57
- local COUNT=$(ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config cn | grep -c $1)
+ local COUNT=$(ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config cn | grep -c "}$1,")
58
if [ "$COUNT" -eq 0 ]; then
59
echo 1
60
else
0 commit comments