diff --git a/libi2pd_client/ClientContext.cpp b/libi2pd_client/ClientContext.cpp index b1eebe70..0199522d 100644 --- a/libi2pd_client/ClientContext.cpp +++ b/libi2pd_client/ClientContext.cpp @@ -547,8 +547,11 @@ namespace client if (tunConf.empty ()) tunConf = i2p::fs::DataDirPath ("tunnels.conf"); - LogPrint(eLogDebug, "Clients: Tunnels config file: ", tunConf); - ReadTunnels (tunConf, numClientTunnels, numServerTunnels); + if (i2p::fs::Exists (tunConf)) + { + LogPrint(eLogDebug, "Clients: Tunnels config file: ", tunConf); + ReadTunnels (tunConf, numClientTunnels, numServerTunnels); + } std::string tunDir; i2p::config::GetOption("tunnelsdir", tunDir); if (tunDir.empty ())