I've got a Bash script that's run with the -e flag. At some point, I want to run a Bash command, and continue whether it succeeded or not. I also want to have a variable that saves whether it succeeded or not, because later I want to do an if clause that's executed only if that command failed.
Is that possible? How?