From f00b4e4c3d1d4b7e5f1ba99b099802e3495deba1 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Thu, 21 Apr 2016 14:22:06 +0100 Subject: bitbake: toaster: bin/toaster Fix noweb command For the noweb command we don't need to check if a socket is in use or not as we're not starting the django development server. We're just setting up the environment and running the runbuilds scheduler. (Bitbake rev: f62d9a3e86e384f928fc8ad077d7cf3a75d1591e) Signed-off-by: Michael Wood Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 9540fc9e6c..987d53c10d 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -255,7 +255,9 @@ case $CMD in start ) # check if addr:port is not in use if [ "$CMD" == 'start' ]; then - $MANAGE checksocket "$ADDR_PORT" || return 1 + if [ $WEBSERVER -gt 0 ]; then + $MANAGE checksocket "$ADDR_PORT" || return 1 + fi fi # kill Toaster web server if it's alive -- cgit v1.2.3-54-g00ecf