kdb: nokdb also for external
@@ -142,6 +142,8 @@ void runManPage (std::string command, std::string profile)
const char * man = "/usr/bin/man";
using namespace kdb;
Key k = nullptr;
+ if (profile != "nokdb")
+ {
try
{
KDB kdb;
@@ -174,6 +176,7 @@ void runManPage (std::string command, std::string profile)
<< "kdbOpen() failed with the info:" << std::endl
<< ce.what () << std::endl;
}
+ }
if (k)
{
man = k.get<std::string> ().c_str ();
