diff options
Diffstat (limited to 'lib/MGA/Advisories.pm')
-rw-r--r-- | lib/MGA/Advisories.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index d408dc3..8a9099d 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -15,7 +15,7 @@ use File::Basename; our $config_file = '/usr/share/mga-advisories/config'; our $config = LoadFile($ENV{MGAADV_CONF} || $config_file); our $home_config_file = $ENV{HOME} . '/.mga-advisories/mga-advisories.conf'; -my $custom_config_file = -f $home_config_file ? $home_config_file +my $custom_config_file = -f $home_config_file ? $home_config_file : '/etc/mga-advisories.conf'; my $custom_config = LoadFile($custom_config_file); foreach my $k (keys %$custom_config) { |