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
|
// this is the default conf
|
||||||
if (!autoconfdir && !isDefaultConfig()) {
|
if (!autoconfdir && !isDefaultConfig()) {
|
||||||
if (!path_exists(m_confdir)) {
|
if (!path_exists(m_confdir)) {
|
||||||
m_reason = "Explicitly specified configuration "
|
m_reason = std::string("Explicitly specified configuration [") + m_confdir +
|
||||||
"directory must exist (won't be automatically created). Use mkdir first";
|
"] directory must exist (won't be automatically created). Use mkdir first";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user