diff options
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 0c61253d6a..c79be9a846 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -1321,7 +1321,7 @@ def main(): | |||
1321 | logger.info("SIGTERM received") | 1321 | logger.info("SIGTERM received") |
1322 | os.kill(config.qemupid, signal.SIGTERM) | 1322 | os.kill(config.qemupid, signal.SIGTERM) |
1323 | config.cleanup() | 1323 | config.cleanup() |
1324 | subprocess.run(["tput", "smam"]) | 1324 | subprocess.check_call(["tput", "smam"]) |
1325 | signal.signal(signal.SIGTERM, sigterm_handler) | 1325 | signal.signal(signal.SIGTERM, sigterm_handler) |
1326 | 1326 | ||
1327 | config.check_args() | 1327 | config.check_args() |
@@ -1343,7 +1343,7 @@ def main(): | |||
1343 | return 1 | 1343 | return 1 |
1344 | finally: | 1344 | finally: |
1345 | config.cleanup() | 1345 | config.cleanup() |
1346 | subprocess.run(["tput", "smam"]) | 1346 | subprocess.check_call(["tput", "smam"]) |
1347 | 1347 | ||
1348 | if __name__ == "__main__": | 1348 | if __name__ == "__main__": |
1349 | sys.exit(main()) | 1349 | sys.exit(main()) |