mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
improved debug output
This commit is contained in:
parent
486aa83680
commit
f7c22af995
@ -76,13 +76,15 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
// Check the existance of the Tor executable path
|
// Check the existance of the Tor executable path
|
||||||
|
|
||||||
if (!RsDirUtil::fileExists(RsTor::torExecutablePath()))
|
auto tor_path = RsTor::torExecutablePath();
|
||||||
|
|
||||||
|
if (!RsDirUtil::fileExists(tor_path))
|
||||||
{
|
{
|
||||||
RsErr() << "Tor executable not found. Try supplying the full path for tor executable with the -t option.";
|
RsErr() << "Tor executable \"" << tor_path << "\" not found. Try supplying the correct full path for a tor executable with the -t option.";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
RsDbg() << "Using Tor executable: \"" << RsTor::torExecutablePath() << "\"";
|
RsDbg() << "Using Tor executable: \"" << tor_path << "\"";
|
||||||
|
|
||||||
// Create/start TorManager
|
// Create/start TorManager
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user