Emit warning when cfg directory exists

This commit is contained in:
Rodrigo Arias 2023-03-21 10:54:38 +01:00 committed by Rodrigo Arias Mallo
parent 2e91d29ae9
commit 9cb752e102

View File

@ -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;
} }