boobank return an 0 exit code even when It fails
I use boobank in a script, and I need to know if the command was successfull. When I launch this in a bash script :
boobank history XXXXXX@mybank -f ofx --condition "date>10-10-2017" -n 2000 > ~/myfile.ofx echo "$?"
It returns 0 even if password was wrong or internet connexion is down. I am note sure if it's me who misunderstand bash script, or if return code were not coded in boobank.