if(!is_absolute(name)) {
debuga(_("Invalid path (%s). Please, use absolute paths only.\n"),name);
- debuga(_("process aborted.\n"));
exit(EXIT_FAILURE);
}
if (access(w0, R_OK) != 0) {
if (mkdir(w0,0755)) {
debuga(_("Cannot create directory %s - %s\n"),w0,strerror(errno));
- debuga(_("process aborted.\n"));
exit(EXIT_FAILURE);
}
}
if (access(name, R_OK) != 0) {
if (mkdir(name,0755)) {
debuga(_("Cannot create directory %s - %s\n"),name,strerror(errno));
- debuga(_("process aborted.\n"));
exit(EXIT_FAILURE);
}
}