summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorAlexander Kanevskiy <alexander.kanevskiy@intel.com>2015-03-31 17:56:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-12 12:14:12 +0100
commit84a294eddee8405d9133f8c365e9589dd254197d (patch)
tree38a1d8b637b30d4089da3d09f542d003da892418 /bitbake/bin
parent2d69dd2caf9f67a8b9c965687a4a54ff590534fa (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster2
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()
37 kill -SIGTERM -$(< ${pidfile}) 2>/dev/null 37 kill -SIGTERM -$(< ${pidfile}) 2>/dev/null
38 sleep 1; 38 sleep 1;
39 # Kill processes if they are still running - may happen in interactive shells 39 # Kill processes if they are still running - may happen in interactive shells
40 ps fux | grep "python.*manage.py runserver" | awk '{print $2}' | xargs kill 40 pkill -U $UID -f "python.*manage.py runserver"
41 done; 41 done;
42 rm ${pidfile} 42 rm ${pidfile}
43 fi 43 fi