소스 검색

More ghost busting

Bob Mottram 7 년 전
부모
커밋
81295daf47
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      src/freedombone-app-ghost

+ 4
- 1
src/freedombone-app-ghost 파일 보기

49
 function ghost_bust {
49
 function ghost_bust {
50
     # kill the started ghost process
50
     # kill the started ghost process
51
     kill_pid=$(ps aux | grep "ghost run" | awk -F ' ' '{print $2}' | head -n 1)
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
 function logging_on_ghost {
58
 function logging_on_ghost {