aboutsummaryrefslogtreecommitdiffstats
path: root/config/havp/havp.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-02 09:05:49 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-02 09:05:49 -0200
commit25de0dbe59fe76d7d53eb99bdc565649fdf253af (patch)
treef43fcff9baf4956032b985531d71e0cb1edee3ad /config/havp/havp.inc
parent6c5118cee992894c14e11ee706207c90695da20d (diff)
parent15137ab13aad99d98f3aec5905626a7125064d6d (diff)
downloadpfsense-packages-25de0dbe59fe76d7d53eb99bdc565649fdf253af.tar.gz
pfsense-packages-25de0dbe59fe76d7d53eb99bdc565649fdf253af.tar.bz2
pfsense-packages-25de0dbe59fe76d7d53eb99bdc565649fdf253af.zip
Merge pull request #776 from SunStroke74/patch-1
Diffstat (limited to 'config/havp/havp.inc')
-rw-r--r--config/havp/havp.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/havp/havp.inc b/config/havp/havp.inc
index 8118f695..1648bcb0 100644
--- a/config/havp/havp.inc
+++ b/config/havp/havp.inc
@@ -633,7 +633,7 @@ function havp_config_havp()
# log
$conf[] = "\n# log ";
$conf[] = "ACCESSLOG " . HVDEF_HAVP_ACCESSLOG;
- $conf[] = "ERRORLOG " . HVDEF_HAVP_ERRORLOG;
+ $conf[] = "ERRORLOG " . ($havp_config[F_LOG] === 'true' ? HVDEF_HAVP_ERRORLOG : "/dev/null");
# syslog
$conf[] = "\n# syslog";
$conf[] = "USESYSLOG {$havp_config[F_SYSLOG]}";