瀏覽代碼

More ghost busting

Bob Mottram 8 年之前
父節點
當前提交
81295daf47
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      src/freedombone-app-ghost

+ 4
- 1
src/freedombone-app-ghost 查看文件

@@ -49,7 +49,10 @@ ghost_variables=(GHOST_DOMAIN_NAME
49 49
 function ghost_bust {
50 50
     # kill the started ghost process
51 51
     kill_pid=$(ps aux | grep "ghost run" | awk -F ' ' '{print $2}' | head -n 1)
52
-    kill $kill_pid
52
+    kill -9 $kill_pid
53
+
54
+    kill_pid=$(ps aux | grep "ghost" | awk -F ' ' '{print $2}' | head -n 1)
55
+    kill -9 $kill_pid
53 56
 }
54 57
 
55 58
 function logging_on_ghost {