summarylogtreecommitdiffstats
path: root/ps-import.return_all.patch
blob: 79a804e8cfc2ef7048ecbeecc16040c63c4d9957 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/rpc/parse_commands.cc
+++ b/src/rpc/parse_commands.cc
@@ -226,6 +226,7 @@ parse_command_file(const std::string& path) {
     }
 
   } 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);