summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/tool.c3
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)