diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index bd3aee0c2f..c9a351e251 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -1313,7 +1313,7 @@ def main(): | |||
1313 | logger.info("SIGTERM received") | 1313 | logger.info("SIGTERM received") |
1314 | os.kill(config.qemupid, signal.SIGTERM) | 1314 | os.kill(config.qemupid, signal.SIGTERM) |
1315 | config.cleanup() | 1315 | config.cleanup() |
1316 | subprocess.run(["tput", "smam"]) | 1316 | subprocess.check_call(["tput", "smam"]) |
1317 | signal.signal(signal.SIGTERM, sigterm_handler) | 1317 | signal.signal(signal.SIGTERM, sigterm_handler) |
1318 | 1318 | ||
1319 | config.check_args() | 1319 | config.check_args() |
@@ -1335,7 +1335,7 @@ def main(): | |||
1335 | return 1 | 1335 | return 1 |
1336 | finally: | 1336 | finally: |
1337 | config.cleanup() | 1337 | config.cleanup() |
1338 | subprocess.run(["tput", "smam"]) | 1338 | subprocess.check_call(["tput", "smam"]) |
1339 | 1339 | ||
1340 | if __name__ == "__main__": | 1340 | if __name__ == "__main__": |
1341 | sys.exit(main()) | 1341 | sys.exit(main()) |