mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Diagnostics
- Added more info to the sync configuration details.
This commit is contained in:
parent
174066c1d6
commit
1bbee9cde0
1 changed files with 6 additions and 0 deletions
|
@ -225,6 +225,8 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
if (context.config.get ("taskd.ca") != "")
|
||||
out << " CA: "
|
||||
<< context.config.get ("taskd.ca")
|
||||
<< (File (context.config.get ("taskd.ca")).readable ()
|
||||
? " (readable)" : " (not readable)")
|
||||
<< "\n";
|
||||
|
||||
if (context.config.get ("taskd.trust") != "")
|
||||
|
@ -232,10 +234,14 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
|
||||
out << " Cert: "
|
||||
<< context.config.get ("taskd.certificate")
|
||||
<< (File (context.config.get ("taskd.certificate")).readable ()
|
||||
? " (readable)" : " (not readable)")
|
||||
<< "\n";
|
||||
|
||||
out << " Key: "
|
||||
<< context.config.get ("taskd.key")
|
||||
<< (File (context.config.get ("taskd.key")).readable ()
|
||||
? " (readable)" : " (not readable)")
|
||||
<< "\n";
|
||||
|
||||
out << " Ciphers: "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue