diff options
Diffstat (limited to 'net-mgmt/cacti/files/patch-poller_maintenance.php')
-rw-r--r-- | net-mgmt/cacti/files/patch-poller_maintenance.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/cacti/files/patch-poller_maintenance.php b/net-mgmt/cacti/files/patch-poller_maintenance.php index 8d49da71226a..7c7fb0658b57 100644 --- a/net-mgmt/cacti/files/patch-poller_maintenance.php +++ b/net-mgmt/cacti/files/patch-poller_maintenance.php @@ -1,6 +1,6 @@ ---- poller_maintenance.php.orig 2017-04-26 00:30:09 UTC +--- poller_maintenance.php.orig 2017-08-13 04:06:37 UTC +++ poller_maintenance.php -@@ -175,13 +175,13 @@ function logrotate_rotatenow () { +@@ -197,14 +197,14 @@ function logrotate_rotatenow () { $log = read_config_option('path_cactilog'); if ($log == '') { @@ -9,6 +9,7 @@ } set_config_option('logrotate_lastrun', time()); + clearstatcache(); - if (is_writable(dirname($log) . '/') && is_writable($log)) { |