From bc6b1323964a5bc1146d92aa9413d5c609696670 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') diff --git a/scripts/run-qemu-ota b/scripts/run-qemu-ota index 7f84d08..6a3586c 100755 --- a/scripts/run-qemu-ota +++ b/scripts/run-qemu-ota @@ -157,7 +157,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