diff options
author | paulfantom <paulfantom@gmail.com> | 2016-06-09 10:15:57 +0200 |
---|---|---|
committer | paulfantom <paulfantom@gmail.com> | 2016-06-09 10:15:57 +0200 |
commit | f46503b97c824d8b9d94354df61b54ace27c04a0 (patch) | |
tree | f418ea56c9efeb59845c7d64024d2f35cbe809e9 /charts.d | |
parent | 4a1b1f7db591d0f24b0bba5da00ed14a98b39afd (diff) | |
parent | 32ef889745cc281ffb96d56f384bdee1e598b64d (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'charts.d')
-rwxr-xr-x | charts.d/cpufreq.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/cpufreq.chart.sh b/charts.d/cpufreq.chart.sh index 008ffe1d70..7dd994e252 100755 --- a/charts.d/cpufreq.chart.sh +++ b/charts.d/cpufreq.chart.sh @@ -54,7 +54,7 @@ cpufreq_create() { echo >&2 "charts.d: cpufreq: on file='$file', dir='$dir', cpu='$cpu', id='$id'" echo "DIMENSION $id '$id' absolute 1 1000" - echo >>$TMP_DIR/cpufreq.sh "printf \"SET $id = \"; cat $file " + echo >>$TMP_DIR/cpufreq.sh "echo \"SET $id = \"\$(< $file )" done echo >>$TMP_DIR/cpufreq.sh "echo END" |