Silence debugging commands
If verbose mode is not enabled, the exact commands don't need to be printed.
This commit is contained in:
parent
3b2ec4ab5a
commit
5941f9d3b3
@ -546,7 +546,10 @@ void TestConnections::process_template(int m, const char *template_name, const c
|
||||
tprintf("Template file is %s\n", template_file);
|
||||
|
||||
sprintf(str, "cp %s maxscale.cnf", template_file);
|
||||
tprintf("Executing '%s' command\n", str);
|
||||
if (verbose)
|
||||
{
|
||||
tprintf("Executing '%s' command\n", str);
|
||||
}
|
||||
if (system(str) != 0)
|
||||
{
|
||||
tprintf("Error copying maxscale.cnf template\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user