diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-23 04:24:57 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-23 04:24:57 +0000 |
commit | d8d487f4c31f1af439779b84049cf48d27527d44 (patch) | |
tree | 50028cb0f97e88a70dc108a2f7cd3437485fbebb /etc/inc | |
parent | ba6882bfec6bfd239a8de3c0a5382a0f81ffa9e1 (diff) | |
download | pfsense-d8d487f4c31f1af439779b84049cf48d27527d44.zip pfsense-d8d487f4c31f1af439779b84049cf48d27527d44.tar.gz |
Don't write package information to syslog.conf unless we need to.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index f6976bc..c9e80b4 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -208,7 +208,7 @@ function system_syslogd_start() { $syslogconf .= '!' . $package['logging']['facilityname'] . "\n*.*\t\t\t\t\t\t%{$g['varlog_path']}/" . $package['logging']['logfilename'] . "\n"; } } - $syslogconf .= '!-' . implode(',', $pkgfacilities) . "\n"; + if(is_array($pkgfacilities)) $syslogconf .= '!-' . implode(',', $pkgfacilities) . "\n"; } /* write syslog.conf */ |