1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

fix removal of temp dir on destruct

This commit is contained in:
Falk Werner 2023-01-03 21:38:22 +01:00
parent c366bba343
commit 380e46f0da

View File

@ -12,7 +12,7 @@ tempdir::tempdir()
tempdir::~tempdir() tempdir::~tempdir()
{ {
unlink(path.c_str()); rmdir(path.c_str());
} }
std::string const & tempdir::name() const std::string const & tempdir::name() const