Fix probe test for libs

This commit is contained in:
Jeremy Gardais 2018-08-17 11:46:03 +02:00
parent 192b959b70
commit 1ed852d180
1 changed files with 3 additions and 3 deletions

View File

@ -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