grml2iso: execute under pipefail
authorMichael Prokop <mika@grml.org>
Fri, 11 Mar 2022 17:25:31 +0000 (18:25 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 11 Mar 2022 17:57:29 +0000 (18:57 +0100)
commit8126bbf87f43e55098d09cd7592a60418ea19d2a
tree30a4bf37d6ff9b8008fe1afe8f69cc8b100fc5c3
parent78ae858b306428eb130c8338d103ba2779c12857
grml2iso: execute under pipefail

Quoting from bash(1):

| The return status of a pipeline is the exit status of the last
| command, unless the pipefail option is enabled.  If pipefail is enabled,
| the pipeline's return status is the value of the last (rightmost)
| command to exit  with a  non-zero  status,  or zero if all commands exit
| successfully.

Furthermore, move the "set -e" to the beginning of the file, to ensure
it's active as soon as possible.

While at it, drop trailing whitespace and update ISO name to a more
recent one.

This work was funded by Grml-Forensic.
grml2iso