Fixed file area delete fies path

This commit is contained in:
Michiel Broek 2004-07-14 20:55:05 +00:00
parent 8dcb98e8fa
commit 553dc0365e
2 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ v0.61.1 20-Jun-2004 - 11-Jul-2004
rulefile is deleted too.
When a new golded.inc file is written, only fidonet records
that are active are written.
When a file area is deleted, the file path wasn't removed.
v0.61.0 06-Jun-2004 - 20-Jun-2004

View File

@ -396,7 +396,7 @@ int EditFileRec(int Area)
* Erase file in path if path is set and not the default
* FTP base path
*/
sprintf(temp, "-f %s", area.Path);
sprintf(temp, "-rf %s", area.Path);
execute_pth((char *)"rm", temp, (char *)"/dev/null", (char *)"/dev/null", (char *)"/dev/null");
rmdir(area.Path);
}