aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/ncurses.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-13 17:31:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-13 17:45:37 +0100
commit12e9d33bfae5294e3870dfd1202f63383ad05e92 (patch)
treec46577c42d681ebb992192cf9c6bd860b42be185 /lib/bb/ui/ncurses.py
parent1193b8d76fcb6cb87e9ec135a2514370d7dd90ac (diff)
downloadbitbake-12e9d33bfae5294e3870dfd1202f63383ad05e92.tar.gz
cooker: Rename confusing 'stop' state to 'forceshutdown'
The shutdown state causes the server to finish what its doing, stop was them meant to completely stop it. It doesn't mean the server is stopped though. Renaming the current stop event for forceshutdown gives more meaning to what it actually does. The stopped namespace then becomes available to indicate a completely stopped server. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/ncurses.py')
-rw-r--r--lib/bb/ui/ncurses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/ncurses.py b/lib/bb/ui/ncurses.py
index c45ffd63a..b6c20ec38 100644
--- a/lib/bb/ui/ncurses.py
+++ b/lib/bb/ui/ncurses.py
@@ -350,7 +350,7 @@ class NCursesUI:
exitflag = True
if shutdown == 1:
mw.appendText("Second Keyboard Interrupt, stopping...\n")
- _, error = server.runCommand(["stateStop"])
+ _, error = server.runCommand(["stateForceShutdown"])
if error:
print("Unable to cleanly stop: %s" % error)
if shutdown == 0: