aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-08 21:50:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-08 21:50:17 +0000
commita0989928ed835e48cea896aed7bb779fba705e6d (patch)
tree01b4e5927f0bd8ff18f537bcb9524c33f6d4f6fe
parentb5be9a2696d8a677fb336cc129b38209a93753fd (diff)
downloadpaludis-a0989928ed835e48cea896aed7bb779fba705e6d.tar.gz
paludis-a0989928ed835e48cea896aed7bb779fba705e6d.tar.xz
Say what we expect the config dir to be if we can't find it
-rw-r--r--paludis/default_config.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/default_config.cc b/paludis/default_config.cc
index e4736a4..02e5bbf 100644
--- a/paludis/default_config.cc
+++ b/paludis/default_config.cc
@@ -77,7 +77,8 @@ DefaultConfig::DefaultConfig() :
{
config_dir = FSEntry(root_prefix) / SYSCONFDIR / ("paludis" + config_suffix);
if (! config_dir.exists())
- throw DefaultConfigError("Can't find configuration directory under root");
+ throw DefaultConfigError("Can't find configuration directory under root ("
+ "tried '" + stringify(config_dir) + "'");
}
}