logging: remove closelog() from auth_log(), in some cases this seems to silence successive lines from the feed for some reason and closelog() doesn't seem needed anyway

This commit is contained in:
Ad Schellevis 2024-09-23 10:55:58 +02:00
parent d161d7c534
commit bd037cc655

View File

@ -38,7 +38,6 @@ function auth_log($message, $prio = LOG_ERR)
{
openlog('audit', LOG_ODELAY, LOG_AUTH);
log_msg($message, $prio);
closelog();
reopenlog();
}