openlog("ctdlload", LOG_PERROR , LOG_DAEMON);
// Remove any database that is already in the target directory (yes, delete it, be careful)
- system("rm -fv ./data/cdb.* ./data/log.*");
+ system("rm -fv ./data/*");
// initialize the database backend
cdb_init_backends();