blob: be68ca29e271b84314ff146c532bb0ebcb86694c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/rpc/parse_commands.cc
+++ b/src/rpc/parse_commands.cc
@@ -226,6 +226,8 @@ parse_command_file(const std::string& pa
}
} catch (torrent::input_error& e) {
+ if (!strcmp(e.what(), "import.return"))
+ return true;
snprintf(buffer, 2048, "Error in option file: %s:%u: %s", path.c_str(), lineNumber, e.what());
throw torrent::input_error(buffer);
|