diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-11 09:38:49 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-11 09:38:49 +0100 |
commit | c80956aef3abaa90fa9ab7c2873a45adbe127dc4 (patch) | |
tree | 8bbcea58dfc00cb3c472b20a060e3e467d9392e7 /tools | |
parent | ee632a4a904f9f16c66a24c97f5724f0c3150b10 (diff) |
tools: Initialize local debug code correctly
Unless initialized according to the environment all debug output
is printed.
https://bugs.freedesktop.org/show_bug.cgi?id=62152
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/tool.c b/tools/tool.c index 269fc06..e9c10a0 100644 --- a/tools/tool.c +++ b/tools/tool.c @@ -315,6 +315,9 @@ main (int argc, char *argv[]) argv[out] = argv[in]; } + /* Initialize tool's debugging after setting env vars above */ + p11_debug_init (); + if (command == NULL) { /* As a special favor if someone just typed 'p11-kit', help them out */ if (argc == 1) |