diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 1c96b29a40..f83e05728b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -1333,7 +1333,8 @@ def main(): | |||
1333 | logger.info("SIGTERM received") | 1333 | logger.info("SIGTERM received") |
1334 | os.kill(config.qemupid, signal.SIGTERM) | 1334 | os.kill(config.qemupid, signal.SIGTERM) |
1335 | config.cleanup() | 1335 | config.cleanup() |
1336 | subprocess.check_call(["tput", "smam"]) | 1336 | # Deliberately ignore the return code of 'tput smam'. |
1337 | subprocess.call(["tput", "smam"]) | ||
1337 | signal.signal(signal.SIGTERM, sigterm_handler) | 1338 | signal.signal(signal.SIGTERM, sigterm_handler) |
1338 | 1339 | ||
1339 | config.check_args() | 1340 | config.check_args() |
@@ -1355,7 +1356,8 @@ def main(): | |||
1355 | return 1 | 1356 | return 1 |
1356 | finally: | 1357 | finally: |
1357 | config.cleanup() | 1358 | config.cleanup() |
1358 | subprocess.check_call(["tput", "smam"]) | 1359 | # Deliberately ignore the return code of 'tput smam'. |
1360 | subprocess.call(["tput", "smam"]) | ||
1359 | 1361 | ||
1360 | if __name__ == "__main__": | 1362 | if __name__ == "__main__": |
1361 | sys.exit(main()) | 1363 | sys.exit(main()) |