create directory for resume files

This commit is contained in:
Arvid Norberg 2011-01-31 03:13:22 +00:00
parent 3e4634097d
commit 1a72520f60
1 changed files with 5 additions and 0 deletions

View File

@ -1061,6 +1061,11 @@ int main(int argc, char* argv[])
++i; // skip the argument
}
// create directory for resume files
create_directory(combine_path(save_path, ".resume/"), ec);
if (ec)
fprintf(stderr, "failed to create resume file directory: %s\n", ec.message().c_str());
ses.start_lsd();
if (start_upnp)
{