[ostree] admin: Fix lookup of active root



commit d6d2253f5a41145ed4ed008150bca38c2a8f6b0a
Author: Colin Walters <walters verbum org>
Date:   Thu Mar 7 16:46:41 2013 -0500

    admin: Fix lookup of active root
    
    This should hopefully *really* fix deleting running deployments
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694762

 src/ostree/ot-admin-functions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-admin-functions.c b/src/ostree/ot-admin-functions.c
index c642ab8..f28ea73 100644
--- a/src/ostree/ot-admin-functions.c
+++ b/src/ostree/ot-admin-functions.c
@@ -406,7 +406,7 @@ ot_admin_get_active_deployment (GFile           *ostree_dir,
           guint32 deploy_dev;
           guint64 deploy_inode;
           
-          deployment_info = g_file_query_info (rootfs_path, OSTREE_GIO_FAST_QUERYINFO,
+          deployment_info = g_file_query_info (deployment, OSTREE_GIO_FAST_QUERYINFO,
                                                G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
                                                cancellable, error);
           if (!deployment_info)


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