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.
2 parents 8ff967f + 80fff0f commit 3b0ac7bCopy full SHA for 3b0ac7b
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