diff options
Diffstat (limited to 'usr/local/www/diag_logs_filter.php')
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index 8d9f46a..6918a2b 100755 --- a/usr/local/www/diag_logs_filter.php +++ b/usr/local/www/diag_logs_filter.php @@ -61,6 +61,7 @@ if ($_POST['clear']) { touch("/var/log/filter.log"); } else { exec("killall syslogd"); + sleep(1); if(file_exists("{$filter_logfile}")) unlink("{$filter_logfile}"); exec("/usr/sbin/fifolog_create -s 511488 {$filter_logfile}"); |