Skip to content
Snippets Groups Projects
Commit 600ae17f authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

abort if configuration is not readable

parent deef70fd
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@ use AccountManager::App;
my $configuration_file =
$ENV{ACCOUNTMANAGER_CONFIG} || '@confdir@/manager.conf';
my $configuration = Config::Tiny->read($configuration_file);
if (!$configuration) {
die Config::Tiny->errstr() . "\n";
}
my $app = AccountManager::App->new(
configuration => $configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment