mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
syslog: remove killbyname('syslogd'); as the service is gone. for https://github.com/opnsense/core/issues/5337
This commit is contained in:
parent
b3e3391943
commit
4b1bb2af98
@ -36,7 +36,6 @@ require_once("system.inc");
|
||||
|
||||
function clear_all_log_files()
|
||||
{
|
||||
killbyname('syslogd');
|
||||
$it = new RecursiveDirectoryIterator("/var/log");
|
||||
foreach(new RecursiveIteratorIterator($it) as $file) {
|
||||
if ($file->isFile() && strpos($file->getFilename(), '.log') > -1) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user