From adf9a7f8334e6652348874668670220b05aa0035 Mon Sep 17 00:00:00 2001 From: Jean Paul Galea Date: Tue, 8 Sep 2015 14:34:55 +0200 Subject: [PATCH] Use echo in all munin php plugins. --- ykval-munin-ksmlatency.php | 2 +- ykval-munin-vallatency.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ykval-munin-ksmlatency.php b/ykval-munin-ksmlatency.php index d869d50..21cbd49 100755 --- a/ykval-munin-ksmlatency.php +++ b/ykval-munin-ksmlatency.php @@ -45,7 +45,7 @@ $shortnames = array_map('short_name', $urls); if ($argc == 2 && strcmp($argv[1], "autoconf") == 0) { - print "yes\n"; + echo "yes\n"; exit(0); } diff --git a/ykval-munin-vallatency.php b/ykval-munin-vallatency.php index 98408d3..b6f9c98 100755 --- a/ykval-munin-vallatency.php +++ b/ykval-munin-vallatency.php @@ -53,11 +53,11 @@ if ($argc == 2 && strcmp($argv[1], "autoconf") == 0) { if (is_array($urls) && count($urls) > 0) { - print "yes\n"; + echo "yes\n"; exit(0); } - print "no (sync pool not configured)\n"; + echo "no (sync pool not configured)\n"; exit(0); }