admin: Fix lookup of active root

This should hopefully *really* fix deleting running deployments

https://bugzilla.gnome.org/show_bug.cgi?id=694762
This commit is contained in:
Colin Walters 2013-03-07 16:46:41 -05:00
parent 30d46f9a02
commit d6d2253f5a
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ ot_admin_get_active_deployment (GFile *ostree_dir,
guint32 deploy_dev; guint32 deploy_dev;
guint64 deploy_inode; 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, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
cancellable, error); cancellable, error);
if (!deployment_info) if (!deployment_info)