A check was missing in some of the python test code, probably from a bad
cherry-pick.
Signed-off-by: Justin Husted <sigstop@gmail.com>
run("fusermount3", "-zu", self.mnt)
print("Waiting for thread to exit.")
- self.thread.join(timeout)
- if self.thread.is_alive():
- self.proc.kill()
- self.thread.join()
+ if self.thread:
+ self.thread.join(timeout)
+ if self.thread.is_alive():
+ self.proc.kill()
+ self.thread.join()
self.thread = None
self.ready.clear()