bm icon indicating copy to clipboard operation
bm copied to clipboard

_BM_CMD_CAPTURE_CHECK not properly evaluated

Open jman223 opened this issue 4 years ago • 0 comments

Line 947 does not properly evaluate _BM_CMD_CAPTURE_CHECK and always executes the checkBinaries function even if the _BM_CMD_CAPTURE_CHECK variable is set to FALSE. Modifying the line to evaluate the variable against TRUE produces the desired results.

Current [[ ${_BM_CMD_CAPTURE_CHECK} ]] && checkBinaries "${_BM_CMD_CAPTURE}"

modified [[ ${_BM_CMD_CAPTURE_CHECK} = 'true' ]] && checkBinaries "${_BM_CMD_CAPTURE}"

jman223 avatar Jan 08 '22 15:01 jman223