Commit 5393341c authored by Rusty Russell's avatar Rusty Russell

tools: only print out creating directory the first time.

parent ee6f11b3
......@@ -204,9 +204,9 @@ char *temp_dir(const void *ctx)
err(1, "mkdir %s failed", tmpdir);
}
talloc_set_destructor(tmpdir, unlink_all);
if (tools_verbose)
printf("Created temporary directory %s\n", tmpdir);
}
if (tools_verbose)
printf("Created temporary directory %s\n", tmpdir);
return tmpdir;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment