diff options
Diffstat (limited to 'bitbake/bin/toaster')
-rwxr-xr-x | bitbake/bin/toaster | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
255 | start ) | 255 | start ) |
256 | # check if addr:port is not in use | 256 | # check if addr:port is not in use |
257 | if [ "$CMD" == 'start' ]; then | 257 | if [ "$CMD" == 'start' ]; then |
258 | $MANAGE checksocket "$ADDR_PORT" || return 1 | 258 | if [ $WEBSERVER -gt 0 ]; then |
259 | $MANAGE checksocket "$ADDR_PORT" || return 1 | ||
260 | fi | ||
259 | fi | 261 | fi |
260 | 262 | ||
261 | # kill Toaster web server if it's alive | 263 | # kill Toaster web server if it's alive |