mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-27 06:54:16 +01:00
Use echo in all munin php plugins.
This commit is contained in:
parent
3896a7a72b
commit
adf9a7f833
@ -45,7 +45,7 @@ $shortnames = array_map('short_name', $urls);
|
|||||||
|
|
||||||
if ($argc == 2 && strcmp($argv[1], "autoconf") == 0)
|
if ($argc == 2 && strcmp($argv[1], "autoconf") == 0)
|
||||||
{
|
{
|
||||||
print "yes\n";
|
echo "yes\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,11 +53,11 @@ if ($argc == 2 && strcmp($argv[1], "autoconf") == 0)
|
|||||||
{
|
{
|
||||||
if (is_array($urls) && count($urls) > 0)
|
if (is_array($urls) && count($urls) > 0)
|
||||||
{
|
{
|
||||||
print "yes\n";
|
echo "yes\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
print "no (sync pool not configured)\n";
|
echo "no (sync pool not configured)\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user