mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Support axosyslog in version detection
https://github.com/webmin/webmin/issues/2465
This commit is contained in:
@ -11,7 +11,7 @@ use WebminCore;
|
||||
sub get_syslog_ng_version
|
||||
{
|
||||
local $out = &backquote_command("$config{'syslogng_cmd'} -V 2>&1 </dev/null",1);
|
||||
return $out =~ /syslog-ng\s+([0-9\.]+)/ ? $1 : undef;
|
||||
return $out =~ /(syslog-ng|axosyslog)\s+([0-9\.]+)/ ? $2 : undef;
|
||||
}
|
||||
|
||||
sub supports_sun_streams
|
||||
|
Reference in New Issue
Block a user