summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-11-08 12:07:48 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-11-08 12:07:48 +0100
commit443e92c7416df8fd9e450b5711d120ed02137503 (patch)
treeab06db7f413667d7e7b18745a73039aef46ca8da /scripts
parent514fbb9fe05e11d8fb8a61d969c6ede76c96538a (diff)
downloadmeta-updater-443e92c7416df8fd9e450b5711d120ed02137503.tar.gz
Fix race condition in run-qemu-ota
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-qemu-ota2
1 files changed, 1 insertions, 1 deletions
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():
161 if args.dry_run: 161 if args.dry_run:
162 print(" ".join(img_cmdline)) 162 print(" ".join(img_cmdline))
163 else: 163 else:
164 Popen(img_cmdline) 164 Popen(img_cmdline).wait()
165 165
166 if args.dry_run: 166 if args.dry_run:
167 print(" ".join(cmdline)) 167 print(" ".join(cmdline))