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
+1
View File
@@ -1534,6 +1534,7 @@ do
# check for log_healthy support through --hc-args (plugin)
elif (( $(grep -c -E -e "_LOG_HEALTHY" "${FFILE}" 2>/dev/null) > 0 ))
then
FCONFIG="No"
FHEALTHY="S"
else
FCONFIG="No"
@@ -221,7 +221,7 @@ if [[ "${_CHECK_FILESETS}" = "yes" ]]
then
_SWLIST_OPTS="-a state -l fileset"
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}
if (( $? == 0 ))