From 4e49b4b7af672eaa7f1c7ad6ac5842239611af25 Mon Sep 17 00:00:00 2001 From: Jean Paul Galea Date: Tue, 8 Sep 2015 12:41:18 +0200 Subject: [PATCH] Use bracket guards for substitution. --- ykval-munin-ksmlatency.php | 2 +- ykval-munin-vallatency.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ykval-munin-ksmlatency.php b/ykval-munin-ksmlatency.php index b5ddb4f..94c82ab 100755 --- a/ykval-munin-ksmlatency.php +++ b/ykval-munin-ksmlatency.php @@ -85,5 +85,5 @@ foreach ($ksms as $ksm) if (($total_time = total_time($ksm)) === FALSE) $total_time = 'error'; - echo "${shortksm}_avgwait.value $total_time\n"; + echo "${shortksm}_avgwait.value ${total_time}\n"; } diff --git a/ykval-munin-vallatency.php b/ykval-munin-vallatency.php index 437b749..0cdae11 100755 --- a/ykval-munin-vallatency.php +++ b/ykval-munin-vallatency.php @@ -85,5 +85,5 @@ foreach ($urls as $url) if (($total_time = total_time($url)) === FALSE) $total_time = 'error'; - echo "${shortname}_avgwait.value $total_time\n"; + echo "${shortname}_avgwait.value ${total_time}\n"; }