bashmount
bashmount copied to clipboard
After upgrading, bashmount exits with error if colorize is disabled
I have been running bashmount for a long time with colorize disabled. After updating to 4.3.1 from a much older version, bashmount no longer runs with colorize='0'. I get the error:
line 213: BOLD: unbound variable
I find that in line 116-130, BOLD (and other variables) are being set only if colorize is enabled.
I got bashmount to work by adding an else clause is needed that sets all these variables to ""
else
declare -r ALL_OFF=""
declare -r BOLD=""
declare -r BLUE=""
declare -r GREEN=""
declare -r RED=""
Thank you so much for reporting this!
I've fixed this in 4.3.2 so it should work as expected now when you set colourize=0.