Emit warning when cfg directory exists
This commit is contained in:
parent
2e91d29ae9
commit
9cb752e102
@ -158,7 +158,7 @@ cfg_generate(const char *tracedir)
|
|||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
if (stat(dst, &st) == 0) {
|
if (stat(dst, &st) == 0) {
|
||||||
err("directory '%s' already exists, skipping config copy", dst);
|
warn("directory '%s' already exists, skipping config copy", dst);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user