aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-remove
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-04 12:31:31 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-04 12:31:31 +0100
commitc1f4b790c458f0de368f32487a007d571858207c (patch)
tree45d7293ea14d0b4249e2e286327b4d8490ff563e /links-remove
parentdebian/README: update (diff)
parentt/i: call links-update twice, just in case (diff)
downloadconfig-links-c1f4b790c458f0de368f32487a007d571858207c.tar.gz
config-links-c1f4b790c458f0de368f32487a007d571858207c.zip
Merge tag 'v2.0.3' into debian
Diffstat (limited to '')
-rwxr-xr-xlinks-remove3
1 files changed, 2 insertions, 1 deletions
diff --git a/links-remove b/links-remove
index c378485..2efc46d 100755
--- a/links-remove
+++ b/links-remove
@@ -8,7 +8,8 @@
# usage: ./links-remove [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-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