[gnome-boxes/gnome-3-16] vm-configurator: Don't create pool directory

commit 4207c2799a00f3084418a1601a2dca8c8c67617c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jul 15 13:07:35 2015 +0100

    vm-configurator: Don't create pool directory
    Seems latest libvirt errors out on building the storage pool building if
    underlying directory already exists. This patch basically reverts commit
    c2a77d21, which we shouldn't need anymore any way since we have code that
    handles the situation of user moving or removing the directory in

 src/vm-configurator.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index a588b11..66a75d8 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -160,7 +160,6 @@ private class Boxes.VMConfigurator {
     public static StoragePool get_pool_config () throws GLib.Error {
         var pool_path = get_user_pkgdata ("images");
-        ensure_directory (pool_path);
         var pool = new StoragePool ();
         pool.set_pool_type (StoragePoolType.DIR);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]