From 81295daf479a543acad98fda375707c959ccac54 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 16 Aug 2017 18:22:41 +0100 Subject: [PATCH] More ghost busting --- src/freedombone-app-ghost | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index b4647236..46c0a8fd 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -49,7 +49,10 @@ ghost_variables=(GHOST_DOMAIN_NAME function ghost_bust { # kill the started ghost process kill_pid=$(ps aux | grep "ghost run" | awk -F ' ' '{print $2}' | head -n 1) - kill $kill_pid + kill -9 $kill_pid + + kill_pid=$(ps aux | grep "ghost" | awk -F ' ' '{print $2}' | head -n 1) + kill -9 $kill_pid } function logging_on_ghost {