aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-chmod
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-05 20:52:15 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-05 20:52:15 +0200
commita89c8c7620d71565f80ca6e6dd1543e558e27857 (patch)
tree04f878fa5b62b972ef3831da9111c6beb4a87c9b /links-chmod
parentdebian: 2.0-1 (diff)
parenttest: update comments (diff)
downloadconfig-links-a89c8c7620d71565f80ca6e6dd1543e558e27857.tar.gz
config-links-a89c8c7620d71565f80ca6e6dd1543e558e27857.zip
Merge tag 'v2.0.1' into debian
Diffstat (limited to 'links-chmod')
-rwxr-xr-xlinks-chmod5
1 files changed, 2 insertions, 3 deletions
diff --git a/links-chmod b/links-chmod
index 9810cf6..f722b95 100755
--- a/links-chmod
+++ b/links-chmod
@@ -7,9 +7,8 @@
# usage: ./links-chmod [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-n|--dry-run] MODE
-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