core: Disable Gvfs for binaries

Otherwise
1) Lots of unnecessary shit happens and I like my straces to be clean
2) There is no dbus session bus for system daemons or when we're run
   in a root context
This commit is contained in:
Colin Walters 2012-02-24 17:24:50 -05:00
parent 51916a7002
commit ab58faefef

View File

@ -95,6 +95,9 @@ ostree_main (int argc,
GFile *repo_file = NULL;
int arg_off;
/* avoid gvfs (http://bugzilla.gnome.org/show_bug.cgi?id=526454) */
g_setenv ("GIO_USE_VFS", "local", TRUE);
g_type_init ();
g_set_prgname (argv[0]);