aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-chmod
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlinks-chmod3
1 files changed, 2 insertions, 1 deletions
diff --git a/links-chmod b/links-chmod
index f722b95..c0cf71e 100755
--- a/links-chmod
+++ b/links-chmod
@@ -8,7 +8,8 @@
# usage: ./links-chmod [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-n|--dry-run] MODE
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