diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-03-13 12:48:49 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2009-03-13 12:48:49 +0000 |
commit | 831988747f7ed76a319c272eb3ae442001aff81d (patch) | |
tree | 4ca585b4ec83189823d63146bc3fd5a6e39a752d /daemon/daemon-main.c | |
parent | a26a33812b5d6d38f8903b605a3e28c774273100 (diff) | |
download | gvfs-831988747f7ed76a319c272eb3ae442001aff81d.tar.gz |
Enable debug output if GVFS_DEBUG is set in the environment.
2009-03-13 Alexander Larsson <alexl@redhat.com>
* daemon/daemon-main.c (daemon_parse_args):
Enable debug output if GVFS_DEBUG is set in the environment.
svn path=/trunk/; revision=2321
Diffstat (limited to 'daemon/daemon-main.c')
-rw-r--r-- | daemon/daemon-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c index c314911f..22cebe60 100644 --- a/daemon/daemon-main.c +++ b/daemon/daemon-main.c @@ -142,6 +142,10 @@ daemon_parse_args (int argc, char *argv[], const char *default_type) argc--; argv++; } + else if (g_getenv ("GVFS_DEBUG")) + { + print_debug = TRUE; + } mount_spec = NULL; if (argc > 1 && strcmp (argv[1], "--spawner") == 0) |