summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig/deployimagedialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/deployimagedialog.py b/bitbake/lib/bb/ui/crumbs/hig/deployimagedialog.py
index f64fbd6ea4..a13fff906a 100644
--- a/bitbake/lib/bb/ui/crumbs/hig/deployimagedialog.py
+++ b/bitbake/lib/bb/ui/crumbs/hig/deployimagedialog.py
@@ -167,7 +167,7 @@ class DeployImageDialog (CrumbsDialog):
167 if cmdline: 167 if cmdline:
168 tmpfile = tempfile.NamedTemporaryFile() 168 tmpfile = tempfile.NamedTemporaryFile()
169 cmdline += "\"sudo dd if=" + self.image_path + \ 169 cmdline += "\"sudo dd if=" + self.image_path + \
170 " of=" + combo_item + "; echo $? > " + tmpfile.name + "\"" 170 " of=" + combo_item + " && sync; echo $? > " + tmpfile.name + "\""
171 subprocess.call(shlex.split(cmdline)) 171 subprocess.call(shlex.split(cmdline))
172 172
173 if int(tmpfile.readline().strip()) == 0: 173 if int(tmpfile.readline().strip()) == 0: