Skip to content

Commit 1ed91b4

Browse files
committed
ignore lost+found
1 parent e48eaa2 commit 1ed91b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/service/slapd/startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ EOF
100100
#
101101
# Error: the config directory (/etc/ldap/slapd.d) is empty but not the database directory (/var/lib/ldap)
102102
#
103-
elif [ ! -z "$(ls -A /var/lib/ldap)" ] && [ -z "$(ls -A /etc/ldap/slapd.d)" ]; then
103+
elif [ ! -z "$(ls -A -I lost+found /var/lib/ldap)" ] && [ -z "$(ls -A -I lost+found /etc/ldap/slapd.d)" ]; then
104104
log-helper error "Error: the config directory (/etc/ldap/slapd.d) is empty but not the database directory (/var/lib/ldap)"
105105
exit 1
106106
fi

0 commit comments

Comments
 (0)