Motd: Fix Xymond test

This commit is contained in:
Jeremy Gardais 2021-03-15 16:04:18 +01:00
parent 74df2cc330
commit eb38ecbe6f
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ if [ "$(command -v murmurd)" ]; then
fi fi
### ]]] ### ]]]
### IF XYMONSERVER [[[ ### IF XYMONSERVER [[[
if [ "$(command -v xymond)" ]; then if [ -d "/var/lib/xymon/www" ]; then
MSG=$(process_info "xymond" '') MSG=$(process_info "xymond" '')
MSG=$(service_info "1984" "${MSG}") MSG=$(service_info "1984" "${MSG}")
printf '%b' "\\n${MSG}" printf '%b' "\\n${MSG}"