I often add set -e in my bash scripts. However this time I have to call a command that returns some meaningless number instead of 0 on success. How can I tell bash to ignore the return value of this command only.
Changing the command, or changing it’s code to conform to the standard is not an option.
truealways returns a zero exit code. So you can do