[gnome-boxes] express: Add a missing 'yield' keyword
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] express: Add a missing 'yield' keyword
- Date: Fri, 13 Jan 2012 20:22:25 +0000 (UTC)
commit 8db661e4650b300e4d5ae89231079be69c36c981
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Jan 13 22:19:39 2012 +0200
express: Add a missing 'yield' keyword
This was most probably the cause of recent regression in express
installation cause without this keyword, we continue with the rest of the
installation before the file gets copied, causing a race-condition.
src/unattended-installer.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index 323552d..26732d3 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -281,7 +281,7 @@ private abstract class Boxes.UnattendedInstaller: InstallerMedia {
var unattended_tmp_path = get_user_unattended_dir (unattended_dest_name);
var unattended_tmp = File.new_for_path (unattended_tmp_path);
- create_unattended_file (unattended_src, unattended_tmp, cancellable);
+ yield create_unattended_file (unattended_src, unattended_tmp, cancellable);
debug ("Copying unattended file '%s' into disk drive/image '%s'", unattended_dest_name, disk_path);
// FIXME: Perhaps we should use libarchive for this?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]