init.sh: fix error handling

This commit is contained in:
numzero 2026-04-03 16:56:05 +03:00
parent b6899e8537
commit 6de824c9c2

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# set -x # debug # set -x # debug
set -E # abort on errors set -e # abort on errors
cd "${0%/*}" # where this script is located cd "${0%/*}" # where this script is located
usage() { usage() {