diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 56d2f3517..284bfe04c 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -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) {