diff --git a/scripts/installUpgradeFunctions.sh b/scripts/installUpgradeFunctions.sh index 2b4f060d2..baba5a617 100644 --- a/scripts/installUpgradeFunctions.sh +++ b/scripts/installUpgradeFunctions.sh @@ -1135,7 +1135,7 @@ function doV() local jV="${3}" # new json variable name local TYPE="${4}" local FILE="${5}" - local HIDE="${6:-false}" # hide value in log file + local HIDE="${6:-show}" # "hide" to hide value in log file [[ -z ${oldV} ]] && oldV="${V_}" @@ -1159,10 +1159,10 @@ function doV() fi MSG="${SPACE}${oldV}${jV} = ${VAL_}" [[ -n ${oldV} ]] && MSG+=", TYPE=${TYPE}" - [[ ${HIDE} == "true" ]] && MSG="${MSG/${VAL_}/}" + [[ ${HIDE} == "hide" ]] && MSG="${MSG/${VAL_}/}" display_msg --logonly info "${MSG}" else - [[ ${HIDE} == "true" ]] && ERR="${ERR/${VAL_}/}" + [[ ${HIDE} == "hide" ]] && ERR="${ERR/${VAL_}/}" # update_json_file() returns error message. display_msg --log warning "${ERR}" fi