diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-11-08 12:07:48 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-11-08 12:08:42 +0100 |
commit | bc6b1323964a5bc1146d92aa9413d5c609696670 (patch) | |
tree | 16d6f0917ddcd32f0134efd4b3ae10a6a63aa1b7 | |
parent | 30e4eadbab4cf9d4cfcc37e5e0142d9b32717939 (diff) | |
download | meta-updater-bc6b1323964a5bc1146d92aa9413d5c609696670.tar.gz |
Fix race condition in run-qemu-ota
-rwxr-xr-x | scripts/run-qemu-ota | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
157 | if args.dry_run: | 157 | if args.dry_run: |
158 | print(" ".join(img_cmdline)) | 158 | print(" ".join(img_cmdline)) |
159 | else: | 159 | else: |
160 | Popen(img_cmdline) | 160 | Popen(img_cmdline).wait() |
161 | 161 | ||
162 | if args.dry_run: | 162 | if args.dry_run: |
163 | print(" ".join(cmdline)) | 163 | print(" ".join(cmdline)) |