bash_ini_parser
bash_ini_parser copied to clipboard
Executon fails with set -o errexit
In a script with "set -o errexit" the read_ini will fail. As a work-around, turn off errexit before using read_ini:
set +o errexit
read_ini ~/.script.ini
set -o errexit
Oh, actually looks like set -o unset also causes problems. Work-around with this: set +o errexit ; set +o nounset read_ini ~/.script.ini set -o errexit ; set -o nounset