aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-update
diff options
context:
space:
mode:
Diffstat (limited to 'links-update')
-rwxr-xr-xlinks-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/links-update b/links-update
index 5b15f1b..322cd49 100755
--- a/links-update
+++ b/links-update
@@ -20,7 +20,8 @@
# usage: ./links-update [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-m|--mode MODE] [-n|--dry-run]
set -o errexit -o nounset -o pipefail
-shopt -s inherit_errexit lastpipe
+shopt -s inherit_errexit 2> /dev/null || true
+shopt -s lastpipe
script_name="$( basename -- "${BASH_SOURCE[0]}" )"
readonly script_name