Ravi Sir's Cards › AWS
Where does set -e not stop?
This interview card answers: Where does set -e not stop? Inside if or while tests. Left of && or ||. The card’s suggested next step is to add explicit checks.
Read card text
What this card says
What it is
Inside if or while tests.
Why it matters
Left of && or ||.
How / example
Add explicit checks.
cmd || die "cmd failed"