[sysprof/wip/chergert/sysprof-3] helpers: remove flatpak check for now
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] helpers: remove flatpak check for now
- Date: Fri, 24 May 2019 07:46:52 +0000 (UTC)
commit a7e011d94aa51d0df439f7e9ceb811ef4621417a
Author: Christian Hergert <chergert redhat com>
Date: Fri May 24 00:46:43 2019 -0700
helpers: remove flatpak check for now
We don't know if the file is sensitive or not, so we must go to the
daemon for the contents.
src/libsysprof/sysprof-helpers.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/src/libsysprof/sysprof-helpers.c b/src/libsysprof/sysprof-helpers.c
index 92b7fda..13e3ff1 100644
--- a/src/libsysprof/sysprof-helpers.c
+++ b/src/libsysprof/sysprof-helpers.c
@@ -343,13 +343,6 @@ sysprof_helpers_get_proc_file (SysprofHelpers *self,
g_return_val_if_fail (SYSPROF_IS_HELPERS (self), FALSE);
g_return_val_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable), FALSE);
- /* try locally first if we can */
- if (!g_file_test ("/.flatpak-info", G_FILE_TEST_EXISTS))
- {
- if (helpers_get_proc_file (path, contents, &len))
- return TRUE;
- }
-
if (self->proxy != NULL)
{
if (ipc_service_call_get_proc_file_sync (self->proxy, path, contents, cancellable, error))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]