Masato Taruishi
taru****@users*****
2004年 12月 3日 (金) 15:53:54 JST
=================================================================== RCS file: ultrapossum/module/server/2.0,v retrieving revision 1.26 retrieving revision 1.26.2.1 diff -u -r1.26 -r1.26.2.1 --- ultrapossum/module/server/2.0 2004/10/28 07:18:36 1.26 +++ ultrapossum/module/server/2.0 2004/12/03 06:53:54 1.26.2.1 @@ -24,7 +24,7 @@ dbrecover() { if test "x`getvalue $DIRECTORY/ultrapossum-environ SLAPD_BACKEND_DB_TYPE`" = "xbdb"; then if test "x`getvalue $DIRECTORY/ultrapossum-environ SLAPD_BERKLEYDB_SONAME`" = "xlibdb-4.2.so"; then - if test -x "/usr/bin/db4.2_recover"; then + if test -x "/usr/bin/db4.2_recover" && test -f "$DIRECTORY/id2entry.bdb"; then /usr/bin/db4.2_recover -v -h $DIRECTORY fi fi