s3-build: fix the build of vfs_notify_fam.
[samba.git] / source3 / lib / ldb / tests / kill_slapd.sh
1 #!/bin/sh 
2
3 if [ -z "$LDBDIR" ]; then
4     LDBDIR=`dirname $0`/..
5     export LDBDIR
6 fi
7
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
12 fi