From 430ac8323fddb7502b35f515e94c708e36dd861a Mon Sep 17 00:00:00 2001 From: kytv <kytv@mail.i2p> Date: Sun, 8 Jan 2012 19:08:04 +0000 Subject: [PATCH] Really send HUP signal when called with the graceful parameter --- installer/resources/i2prouter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index 02b21ac987..eb9c476f68 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -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 -- GitLab