Update ignore list on reload.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 3 Feb 2016 08:32:53 +0000 (09:32 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 3 Feb 2016 08:32:53 +0000 (09:32 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
guardian

index 57255c5..7b4c23f 100644 (file)
--- a/guardian
+++ b/guardian
@@ -387,6 +387,9 @@ sub Reload () {
        # Update logger object in mainsettings hash.
        $mainsettings{Logger} = $logger;
 
+       # Update ignore list.
+       &Guardian::Events::GenerateIgnoreList($mainsettings{IgnoreFile});
+
        # Re-generate hash of monitored files.
        %monitored_files = &Guardian::Base::GenerateMonitoredFiles(\%mainsettings, \%monitored_files);