Small comment updates + fix

This commit is contained in:
Patrick Van der Veken
2018-09-25 11:00:30 +02:00
parent 907e45137b
commit cc9efabb68
3 changed files with 3 additions and 4 deletions
@@ -141,7 +141,7 @@ do
;;
esac
# handle result
# report result
if (( _LOG_HEALTHY > 0 || _STC > 0 ))
then
log_hc "$0" ${_STC} "${_MSG}"
@@ -132,7 +132,7 @@ then
then
mv ${_TMP_FILE} ${_STATE_FILE} >/dev/null 2>&1
(( $? > 0 )) && {
warn "failed to move temporary state file"
warn "failed to move temporary state file to permanent state file ${_STATE_FILE}"
return 1
}
fi