Small comment updates + fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user