print the confdir value in the error message about not creating a non-default dir
This commit is contained in:
parent
d127fbc738
commit
8bd1494fd3
@ -254,8 +254,8 @@ RclConfig::RclConfig(const string *argcnf)
|
||||
// this is the default conf
|
||||
if (!autoconfdir && !isDefaultConfig()) {
|
||||
if (!path_exists(m_confdir)) {
|
||||
m_reason = "Explicitly specified configuration "
|
||||
"directory must exist (won't be automatically created). Use mkdir first";
|
||||
m_reason = std::string("Explicitly specified configuration [") + m_confdir +
|
||||
"] directory must exist (won't be automatically created). Use mkdir first";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user