diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/terminal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 6d6a29f983..3901ad3f26 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -76,9 +76,11 @@ class Gnome(XTerminal): | |||
76 | finally: | 76 | finally: |
77 | os.unlink(pidfile) | 77 | os.unlink(pidfile) |
78 | 78 | ||
79 | import time | ||
79 | while True: | 80 | while True: |
80 | try: | 81 | try: |
81 | os.kill(pid, 0) | 82 | os.kill(pid, 0) |
83 | time.sleep(0.1) | ||
82 | except OSError: | 84 | except OSError: |
83 | return | 85 | return |
84 | 86 | ||