mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-29 10:07:32 -05:00
Kill slapd before exiting
This commit is contained in:
parent
85e8b309d5
commit
947612e72f
1 changed files with 3 additions and 1 deletions
|
|
@ -103,13 +103,15 @@ replace: sn
|
|||
sn: James A Jones 1
|
||||
EOMODS
|
||||
RC=$?
|
||||
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
|
||||
case $RC in
|
||||
0)
|
||||
echo "ldapmodify succeed as expected"
|
||||
;;
|
||||
*)
|
||||
echo "ldapmodify failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue