Explicitly call "set -e" instead of specifying on shebang
Scripts can be run as sh $script
. In this case -e
on the shebang is
ignored.
So explicitly call set -e
instead of specifying -e
on the shebang.
Edited by Benjamin Drung
Scripts can be run as sh $script
. In this case -e
on the shebang is
ignored.
So explicitly call set -e
instead of specifying -e
on the shebang.