Really send HUP signal when called with the graceful parameter

This commit is contained in:
kytv
2012-01-08 19:08:04 +00:00
parent 8c70af56ad
commit 430ac8323f

View File

@@ -1099,7 +1099,7 @@ graceful() {
# Running so try to stop it.
# This sends HUP. router.gracefulHUP must be set in router.config,
# or else this will do the same as stop.
kill $pid
kill -HUP $pid
if [ $? -ne 0 ]
then
# An explanation for the failure should have been given