diff options
Diffstat (limited to '')
-rwxr-xr-x | links-update | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/links-update b/links-update index 6a802bc..5b15f1b 100755 --- a/links-update +++ b/links-update @@ -19,9 +19,8 @@ # usage: ./links-update [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-m|--mode MODE] [-n|--dry-run] -set -o errexit -set -o nounset -set -o pipefail +set -o errexit -o nounset -o pipefail +shopt -s inherit_errexit lastpipe script_name="$( basename -- "${BASH_SOURCE[0]}" )" readonly script_name |