you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 5 months ago

Partly right in bash:

set -e; echo 1; echo 2;

is the same as

echo 1 && echo 2

So if you see the -e in a script, it's to keep the function clean.

  • source
  • parent