Skip to contentSkip to conversation

ui/ncurses: Add missing function call to avoid traceback

PATCH New Richard Purdie 1 participant 1 message Nov 23, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/ncurses: Add missing function call to avoid traceback

The ncurses UI wasn't working due to a missing function call. Add it to avoid a traceback when starting builds.

---
 lib/bb/ui/ncurses.py | 3 +++
 1 file changed, 3 insertions(+)
lib/bb/ui/ncurses.py +3 -0
index cf1c876a51..18a706547a 100644
@@ -227,6 +227,9 @@ class NCursesUI:
         shutdown = 0
 
         try:
+            if not params.observe_only:
+                params.updateToServer(server, os.environ.copy())
+
             params.updateFromServer(server)
             cmdline = params.parseActions()
             if not cmdline:
Signature · 1 line
2.39.2