diff options
author | Alexander Kanevskiy <alexander.kanevskiy@intel.com> | 2015-03-31 17:56:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-12 12:14:12 +0100 |
commit | 84a294eddee8405d9133f8c365e9589dd254197d (patch) | |
tree | 38a1d8b637b30d4089da3d09f542d003da892418 | |
parent | 2d69dd2caf9f67a8b9c965687a4a54ff590534fa (diff) | |
download | openembedded-core-contrib-84a294eddee8405d9133f8c365e9589dd254197d.tar.gz |
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>
-rwxr-xr-x | bitbake/bin/toaster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 7907b574c1..792fb7210c 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -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 |