• @deadbeef79000
    link
    93 months ago

    Yep! I always do this too.

    TL;DR: e aborts the whole script on a non-zero error. u aborts when using an undefined variable. -o pipefail aborts a piped compound command when one of the piped commands fail.

    Any other way lies madness. Or erasing the whole filesystem apparently!