← All tips

Bash: check command success with `|| exit`

bashscripts

Stop early when a critical step fails.

do_thing || exit 1