gboolean ostree_ensure_repo_writable (OstreeRepo *repo, GError **error) { if (!ostree_repo_is_writable (repo, error)) return glnx_prefix_error (error, "Cannot write to repository"); return TRUE; }
gboolean ostree_ensure_repo_writable (OstreeRepo *repo, GError **error) { gboolean ret; ret = ostree_repo_is_writable (repo, error); g_prefix_error (error, "Cannot write to repository: "); return ret; }