Diagnostics
- Added more info to the sync configuration details.
This commit is contained in:
@@ -225,6 +225,8 @@ int CmdDiagnostics::execute (std::string& output)
|
|||||||
if (context.config.get ("taskd.ca") != "")
|
if (context.config.get ("taskd.ca") != "")
|
||||||
out << " CA: "
|
out << " CA: "
|
||||||
<< context.config.get ("taskd.ca")
|
<< context.config.get ("taskd.ca")
|
||||||
|
<< (File (context.config.get ("taskd.ca")).readable ()
|
||||||
|
? " (readable)" : " (not readable)")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
if (context.config.get ("taskd.trust") != "")
|
if (context.config.get ("taskd.trust") != "")
|
||||||
@@ -232,10 +234,14 @@ int CmdDiagnostics::execute (std::string& output)
|
|||||||
|
|
||||||
out << " Cert: "
|
out << " Cert: "
|
||||||
<< context.config.get ("taskd.certificate")
|
<< context.config.get ("taskd.certificate")
|
||||||
|
<< (File (context.config.get ("taskd.certificate")).readable ()
|
||||||
|
? " (readable)" : " (not readable)")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
out << " Key: "
|
out << " Key: "
|
||||||
<< context.config.get ("taskd.key")
|
<< context.config.get ("taskd.key")
|
||||||
|
<< (File (context.config.get ("taskd.key")).readable ()
|
||||||
|
? " (readable)" : " (not readable)")
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
out << " Ciphers: "
|
out << " Ciphers: "
|
||||||
|
|||||||
Reference in New Issue
Block a user