mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Minor code cleanup
This commit is contained in:
@@ -232,8 +232,7 @@ return $conf1 ne $conf2;
|
||||
# Returns the syslog PID file
|
||||
sub get_syslog_pid
|
||||
{
|
||||
local $pid;
|
||||
($pid) = &find_byname("syslogd");
|
||||
my ($pid) = &find_byname("syslogd");
|
||||
($pid) = &find_byname("rsyslogd") if (!$pid);
|
||||
if (!$pid && $config{'pid_file'}) {
|
||||
foreach my $pfile (map { glob($_) } split(/\s+/, $config{'pid_file'})) {
|
||||
|
||||
Reference in New Issue
Block a user