DEADSOFTWARE

pkill fix in stop
authorIvan Denisov <d.ivan.krsk@gmail.com>
Fri, 14 Sep 2012 01:27:51 +0000 (09:27 +0800)
committerIvan Denisov <d.ivan.krsk@gmail.com>
Fri, 14 Sep 2012 01:27:51 +0000 (09:27 +0800)
stop

diff --git a/stop b/stop
index 735e57e874231163063f9f78ef84939ff52295d8..8ec03558b0df54d09f90a090c6c8eeb763a8621c 100644 (file)
--- a/stop
+++ b/stop
@@ -1,3 +1,3 @@
 #!/bin/sh
-sudo pkill `ps -ef | grep blackbox | grep -v grep | awk '{ print $2 }'`
+sudo pkill -x blackbox