aboutsummaryrefslogtreecommitdiffstats
path: root/config/syslog-ng
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-09 15:09:30 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-09 15:09:30 -0200
commit785cd2be24936b3ae7e44253417f1e2ff5a70ea5 (patch)
tree506e8baa8a4f2041df3ee160241d3bfebeeb48bf /config/syslog-ng
parent425e547428e4dd58d82b1dcd19ccd60cabf920a4 (diff)
downloadpfsense-packages-785cd2be24936b3ae7e44253417f1e2ff5a70ea5.tar.gz
pfsense-packages-785cd2be24936b3ae7e44253417f1e2ff5a70ea5.tar.bz2
pfsense-packages-785cd2be24936b3ae7e44253417f1e2ff5a70ea5.zip
Use correct parameter order for symlink(), bump to 1.0.4
Diffstat (limited to 'config/syslog-ng')
-rw-r--r--config/syslog-ng/syslog-ng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/syslog-ng/syslog-ng.inc b/config/syslog-ng/syslog-ng.inc
index aaf3af9b..550688fb 100644
--- a/config/syslog-ng/syslog-ng.inc
+++ b/config/syslog-ng/syslog-ng.inc
@@ -51,7 +51,7 @@ function syslogng_get_real_interface_address($interface) {
function syslogng_install_command() {
conf_mount_rw();
if (!file_exists("/usr/local/lib/syslog-ng"))
- @symlink("/usr/local/lib/syslog-ng", SYSLOGNG_BSEDIR . "local/lib/syslog-ng");
+ @symlink(SYSLOGNG_BSEDIR . "local/lib/syslog-ng", "/usr/local/lib/syslog-ng");
syslogng_install_cron(true);
conf_mount_ro();
syslogng_resync();