bitbake: toaster: clear up toaster shutdown for mac osx
This patch properly shuts down toaster in interactive mode under Mac OSx. (Bitbake rev: a00cd5135a4bbd61d311fa17569894f974ab4420) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2d69dd2caf
commit
84a294edde
|
@ -37,7 +37,7 @@ function webserverKillAll()
|
|||
kill -SIGTERM -$(< ${pidfile}) 2>/dev/null
|
||||
sleep 1;
|
||||
# Kill processes if they are still running - may happen in interactive shells
|
||||
ps fux | grep "python.*manage.py runserver" | awk '{print $2}' | xargs kill
|
||||
pkill -U $UID -f "python.*manage.py runserver"
|
||||
done;
|
||||
rm ${pidfile}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue