summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 80bda6d67c..01ffc7a37c 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -139,15 +139,16 @@ if [ -z "$ZSH_NAME" ] && [ `basename \"$0\"` = `basename \"$BASH_SOURCE\"` ]; th
139 webserverKillAll 139 webserverKillAll
140 RUNNING=0 140 RUNNING=0
141 } 141 }
142 webserverStartAll || exit 1 142 webserverStartAll || (echo "Fail to start the web server, stopping" 1>&2 && exit 1)
143 xdg-open http://0.0.0.0:8000/ >/dev/null 2>&1 & 143 xdg-open http://0.0.0.0:8000/ >/dev/null 2>&1 &
144 trap trap_ctrlc SIGINT 144 trap trap_ctrlc SIGINT
145 echo "Running. Stop with Ctrl-C" 145 echo "Running. Stop with Ctrl-C"
146 while [ $RUNNING -gt 0 ]; do 146 while [ $RUNNING -gt 0 ]; do
147 wait; 147 python $BBBASEDIR/lib/toaster/manage.py runbuilds
148 sleep 1
148 done 149 done
149 echo "**** Exit" 150 echo "**** Exit"
150 exit 1 151 exit 0
151fi 152fi
152 153
153# We make sure we're running in the current shell and in a good environment 154# We make sure we're running in the current shell and in a good environment