mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 22:22:45 -04:00
improved debug output
This commit is contained in:
parent
486aa83680
commit
f7c22af995
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue