summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-02-02 13:57:07 +0100
committerSeth Mos <seth.mos@dds.nl>2011-02-02 13:57:07 +0100
commit9d7dd0be5ba6525dc787ada121fcb55df4a90ef6 (patch)
tree5db77622a5ade825d4cf19b54a145e7eee863010
parent01ee74a8cef5f8ba29e0ab6d8faa0bba48c5e4de (diff)
downloadpfsense-9d7dd0be5ba6525dc787ada121fcb55df4a90ef6.zip
pfsense-9d7dd0be5ba6525dc787ada121fcb55df4a90ef6.tar.gz
Add a newline to this command
-rw-r--r--etc/inc/rrd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc
index cdb90c1..e698a19 100644
--- a/etc/inc/rrd.inc
+++ b/etc/inc/rrd.inc
@@ -571,7 +571,7 @@ function enable_rrd_graphing() {
$rrdupdatesh .= "printf \"$rrdtool update $rrddbpath$ifname$proc \" } \\\n";
$rrdupdatesh .= "{ if ( \$2 == \"processes:\" ) { processes = \$1; } \\\n";
$rrdupdatesh .= "else if ( \$1 == \"CPU:\" ) { user = \$2; nice = \$4; sys = \$6; interrupt = \$8; } \\\n";
- $rrdupdatesh .= "} END { printf \"N:\"user\":\"nice\":\"sys\":\"interrupt\":\"processes }'`\n\n";
+ $rrdupdatesh .= "} END { printf \"N:\"user\":\"nice\":\"sys\":\"interrupt\":\"processes \"\\\n\"}'`\n\n";
/* End CPU statistics */
OpenPOWER on IntegriCloud