summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c0e569c44c..a4fc606e50 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1329,7 +1329,8 @@ def main():
1329 logger.info("SIGTERM received") 1329 logger.info("SIGTERM received")
1330 os.kill(config.qemupid, signal.SIGTERM) 1330 os.kill(config.qemupid, signal.SIGTERM)
1331 config.cleanup() 1331 config.cleanup()
1332 subprocess.check_call(["tput", "smam"]) 1332 # Deliberately ignore the return code of 'tput smam'.
1333 subprocess.call(["tput", "smam"])
1333 signal.signal(signal.SIGTERM, sigterm_handler) 1334 signal.signal(signal.SIGTERM, sigterm_handler)
1334 1335
1335 config.check_args() 1336 config.check_args()
@@ -1351,7 +1352,8 @@ def main():
1351 return 1 1352 return 1
1352 finally: 1353 finally:
1353 config.cleanup() 1354 config.cleanup()
1354 subprocess.check_call(["tput", "smam"]) 1355 # Deliberately ignore the return code of 'tput smam'.
1356 subprocess.call(["tput", "smam"])
1355 1357
1356if __name__ == "__main__": 1358if __name__ == "__main__":
1357 sys.exit(main()) 1359 sys.exit(main())