cosmetic fix in journal logging (log basename only)

This commit is contained in:
2024-05-10 14:20:39 -05:00
parent a0f1895e6c
commit fa41d2e05e
5 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ for range in ITM OTM NTM; do
symbolCheck=$(jq -r ${jqQuery} < temp/optionChain.${symbol}.${range}.tmp.$$.json)
if [[ "${symbol}" != "${symbolCheck}" ]]; then
errMsg="ERROR: THE RESPONSE IS INCORRECT! Symbol: _${symbol}_ Check: _${symbolCheck}_ check file _temp/optionChain.${symbol}.${range}.tmp.$$.json_"
systemd-cat -t "$0 $1" -p err <<< ${errMsg}
systemd-cat -t "`basename $0` $1" -p err <<< ${errMsg}
>&2 echo "${errMsg}"
exit 2
fi