diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 8d12f00bd4..916ee0a0e5 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -375,7 +375,7 @@ class ProcessServer(): | |||
375 | lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=False) | 375 | lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=False) |
376 | if not lock: | 376 | if not lock: |
377 | newlockcontents = get_lock_contents(lockfile) | 377 | newlockcontents = get_lock_contents(lockfile) |
378 | if not newlockcontents.startswith([os.getpid() + "\n", os.getpid() + " "]): | 378 | if not newlockcontents[0].startswith([os.getpid() + "\n", os.getpid() + " "]): |
379 | # A new server was started, the lockfile contents changed, we can exit | 379 | # A new server was started, the lockfile contents changed, we can exit |
380 | serverlog("Lockfile now contains different contents, exiting: " + str(newlockcontents)) | 380 | serverlog("Lockfile now contains different contents, exiting: " + str(newlockcontents)) |
381 | return | 381 | return |