aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/server/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/server/process.py')
-rw-r--r--lib/bb/server/process.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 5b8a549f9..338c44835 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -180,7 +180,8 @@ class ProcessServer(multiprocessing.Process):
if self.timeout is None:
print("No timeout, exiting.")
self.quit = True
- if not self.haveui and self.lastui and self.timeout and (self.lastui + self.timeout) < time.time():
+ if not self.timeout == -1.0 and not self.haveui and self.lastui and self.timeout and \
+ (self.lastui + self.timeout) < time.time():
print("Server timeout, exiting.")
self.quit = True