s3:dbwrap fix return value of db_tdb_parse
[Samba/bb.git] / lib / ldb / tests / kill_slapd.sh
blob91beb108149fdca57cdb071807cc956d888cb1ef
1 #!/bin/sh
3 if [ -z "$LDBDIR" ]; then
4 LDBDIR=`dirname $0`/..
5 export LDBDIR
6 fi
8 if [ -f tests/tmp/slapd.pid ]; then
9 echo "killing slapd process `cat tests/tmp/slapd.pid`"
10 kill -9 `cat tests/tmp/slapd.pid`
11 rm -f tests/tmp/slapd.pid