Merge pull request #401 from coreemu/fix-core-cleanup-d-kill-daemon
fix-core-cleanup-d-kill-daemon
This commit is contained in:
commit
902cfab677
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin"
|
|||
export PATH
|
||||
|
||||
if [ "z$1" = "z-d" ]; then
|
||||
pypids=`pidof python python2`
|
||||
pypids=`pidof python3 python`
|
||||
for p in $pypids; do
|
||||
grep -q core-daemon /proc/$p/cmdline
|
||||
if [ $? = 0 ]; then
|
||||
|
|
Loading…
Reference in a new issue