diff options
Diffstat (limited to 'bitbake/lib/bb/ui/ncurses.py')
-rw-r--r-- | bitbake/lib/bb/ui/ncurses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py index 3fed4c58a8..3bc8373964 100644 --- a/bitbake/lib/bb/ui/ncurses.py +++ b/bitbake/lib/bb/ui/ncurses.py | |||
@@ -324,7 +324,7 @@ class NCursesUI: | |||
324 | shutdown = shutdown + 1 | 324 | shutdown = shutdown + 1 |
325 | pass | 325 | pass |
326 | 326 | ||
327 | def init(server, eventHandler): | 327 | def main(server, eventHandler): |
328 | if not os.isatty(sys.stdout.fileno()): | 328 | if not os.isatty(sys.stdout.fileno()): |
329 | print("FATAL: Unable to run 'ncurses' UI without a TTY.") | 329 | print("FATAL: Unable to run 'ncurses' UI without a TTY.") |
330 | return | 330 | return |