Fix probe test for libs
This commit is contained in:
parent
192b959b70
commit
1ed852d180
|
@ -32,10 +32,10 @@ if [ ! -d "${temp_dir}" ] ; then
|
||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : ${BBHOSTNAME} — ${BBSVCNAME} error" > "${debug_stdout}"
|
|
||||||
|
|
||||||
# Manage only libs probe {{{
|
# Manage only libs probe {{{
|
||||||
if [ "${BBSVCNAME}" != "libs" ]; then
|
if [ "${BBSVCNAME}" = "libs" ]; then
|
||||||
|
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : ${BBHOSTNAME} — ${BBSVCNAME} error" > "${debug_stdout}"
|
||||||
|
else
|
||||||
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : ${BBHOSTNAME} — ${BBSVCNAME} probe is not managed." > "${debug_stdout}"
|
[ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : ${BBHOSTNAME} — ${BBSVCNAME} probe is not managed." > "${debug_stdout}"
|
||||||
[ "${DEBUG}" -eq "0" ] || rm -rf -- "${temp_dir}"
|
[ "${DEBUG}" -eq "0" ] || rm -rf -- "${temp_dir}"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue