Skip to content

_BM_CMD_CAPTURE_CHECK not properly evaluated #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jman223 opened this issue Jan 8, 2022 · 0 comments
Open

_BM_CMD_CAPTURE_CHECK not properly evaluated #30

jman223 opened this issue Jan 8, 2022 · 0 comments

Comments

@jman223
Copy link

jman223 commented Jan 8, 2022

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}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant