aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <angelo.naselli@softeco.it>2014-06-04 15:43:45 +0200
committerAngelo Naselli <angelo.naselli@softeco.it>2014-06-04 15:43:45 +0200
commitffd6295009427398b9a97247f082731230992be2 (patch)
treebbc384760c299231fd0ac2fe1fbb027aeaaae7f6 /lib
parent6161a899e3003be84a4d50f5e7f7dadf4f7d84f3 (diff)
downloadcolin-keep-ffd6295009427398b9a97247f082731230992be2.tar
colin-keep-ffd6295009427398b9a97247f082731230992be2.tar.gz
colin-keep-ffd6295009427398b9a97247f082731230992be2.tar.bz2
colin-keep-ffd6295009427398b9a97247f082731230992be2.tar.xz
colin-keep-ffd6295009427398b9a97247f082731230992be2.zip
added logviewer policy for polkit
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/MainDisplay.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AdminPanel/MainDisplay.pm b/lib/AdminPanel/MainDisplay.pm
index 23c435e..784d006 100644
--- a/lib/AdminPanel/MainDisplay.pm
+++ b/lib/AdminPanel/MainDisplay.pm
@@ -378,6 +378,7 @@ sub _loadSettings {
my ($self, $force_load) = @_;
# configuration file name
my $fileName = "$self->{confDir}/settings.conf";
+ die "Configuration file missing" if (! -e $fileName);
if (!$self->{settings} || $force_load) {
$self->{settings} = new AdminPanel::SettingsReader($fileName);
}