From 443e92c7416df8fd9e450b5711d120ed02137503 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Wed, 8 Nov 2017 12:07:48 +0100 Subject: Fix race condition in run-qemu-ota --- scripts/run-qemu-ota | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/run-qemu-ota') diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota index 5334814..641296c 100755 --- a/scripts/run-qemu-ota +++ b/scripts/run-qemu-ota @@ -161,7 +161,7 @@ def main(): if args.dry_run: print(" ".join(img_cmdline)) else: - Popen(img_cmdline) + Popen(img_cmdline).wait() if args.dry_run: print(" ".join(cmdline)) -- cgit v1.2.3-54-g00ecf