Small fix

This commit is contained in:
Patrick Van der Veken 2018-07-12 12:03:45 +02:00
parent 4bf90495d4
commit e6455a86c9

View File

@ -1496,7 +1496,7 @@ do
# check for log_healthy support through --hc-args (plugin) # check for log_healthy support through --hc-args (plugin)
elif (( $(grep -c -E -e "_LOG_HEALTHY" "${FFILE}" 2>/dev/null) > 0 )) elif (( $(grep -c -E -e "_LOG_HEALTHY" "${FFILE}" 2>/dev/null) > 0 ))
then then
FHEALTHY="Yes" FHEALTHY="S"
else else
FCONFIG="No" FCONFIG="No"
FHEALTHY="N/S" FHEALTHY="N/S"
@ -1565,7 +1565,7 @@ then
print print
print "Config?: plugin has a default configuration file (Yes/No)" print "Config?: plugin has a default configuration file (Yes/No)"
print "Sched? : plugin is scheduled through cron (Yes/No)" print "Sched? : plugin is scheduled through cron (Yes/No)"
print "H+? : plugin can choose whether to log/show passed health checks (Yes/No/Not supported)" print "H+? : plugin can choose whether to log/show passed health checks (Yes/No/Supported/Not supported)"
fi fi
return 0 return 0