summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-04-26 10:18:12 -0400
committerjim-p <jimp@pfsense.org>2011-04-26 10:18:12 -0400
commit0b9d02f3677c78be1fe9fd16aedc3eb8f9d5c493 (patch)
tree726fd2fe2c4a037339ec4e58ad878b47a7b10dd9 /etc
parent9f5d14ce72fd7aa18a92a7caa59cd9b429e459d0 (diff)
downloadpfsense-0b9d02f3677c78be1fe9fd16aedc3eb8f9d5c493.zip
pfsense-0b9d02f3677c78be1fe9fd16aedc3eb8f9d5c493.tar.gz
Don't just blindly echo to the ntpd.log, it's a clog file and that will break it.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index c55a0c0..e2c02aa 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1201,7 +1201,7 @@ function system_ntp_configure() {
exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf");
// Note that we are starting up
- exec("echo 'OpenNTPD is starting up' >> {$g['varlog_path']}/ntpd.log");
+ log_error("OpenNTPD is starting up.");
}
OpenPOWER on IntegriCloud