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

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