Small fixes

This commit is contained in:
Patrick Van der Veken 2018-10-31 14:43:50 +01:00
parent 1a27baf3ab
commit 0e6469e477
2 changed files with 2 additions and 1 deletions

View File

@ -1534,6 +1534,7 @@ do
# check for log_healthy support through --hc-args (plugin) # check for log_healthy support through --hc-args (plugin)
elif (( $(grep -c -E -e "_LOG_HEALTHY" "${FFILE}" 2>/dev/null) > 0 )) elif (( $(grep -c -E -e "_LOG_HEALTHY" "${FFILE}" 2>/dev/null) > 0 ))
then then
FCONFIG="No"
FHEALTHY="S" FHEALTHY="S"
else else
FCONFIG="No" FCONFIG="No"

View File

@ -221,7 +221,7 @@ if [[ "${_CHECK_FILESETS}" = "yes" ]]
then then
_SWLIST_OPTS="-a state -l fileset" _SWLIST_OPTS="-a state -l fileset"
log "executing {${_SWLIST_BIN}} with options: ${_SWLIST_OPTS}" log "executing {${_SWLIST_BIN}} with options: ${_SWLIST_OPTS}"
print "=== swlist ({$_SWLIST_OPTS}) ===" >>${HC_STDOUT_LOG} print "=== swlist (${_SWLIST_OPTS}) ===" >>${HC_STDOUT_LOG}
${_SWLIST_BIN} ${_SWLIST_OPTS} >>${HC_STDOUT_LOG} 2>${HC_STDERR_LOG} ${_SWLIST_BIN} ${_SWLIST_OPTS} >>${HC_STDOUT_LOG} 2>${HC_STDERR_LOG}
if (( $? == 0 )) if (( $? == 0 ))