diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 45200460b1..f706b9759d 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -499,7 +499,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
| 499 | main.shutdown = 2 | 499 | main.shutdown = 2 |
| 500 | if not params.observe_only and main.shutdown == 1: | 500 | if not params.observe_only and main.shutdown == 1: |
| 501 | print("\nSecond Keyboard Interrupt, stopping...\n") | 501 | print("\nSecond Keyboard Interrupt, stopping...\n") |
| 502 | _, error = server.runCommand(["stateStop"]) | 502 | _, error = server.runCommand(["stateForceShutdown"]) |
| 503 | if error: | 503 | if error: |
| 504 | logger.error("Unable to cleanly stop: %s" % error) | 504 | logger.error("Unable to cleanly stop: %s" % error) |
| 505 | if not params.observe_only and main.shutdown == 0: | 505 | if not params.observe_only and main.shutdown == 0: |
