aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-chmod
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-01-06 20:11:05 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-01-06 20:11:05 +0300
commit47c8a75f97f21ae6cffa61e61e62000642f82ab7 (patch)
tree131e96ec73828e5b9773248faea8858ae1aec7cf /links-chmod
parentdb.sh: consistent logging (diff)
downloadconfig-links-47c8a75f97f21ae6cffa61e61e62000642f82ab7.tar.gz
config-links-47c8a75f97f21ae6cffa61e61e62000642f82ab7.zip
db.sh: add parse_mode function
Diffstat (limited to 'links-chmod')
-rwxr-xr-xlinks-chmod2
1 files changed, 1 insertions, 1 deletions
diff --git a/links-chmod b/links-chmod
index 9c7a427..8eb8849 100755
--- a/links-chmod
+++ b/links-chmod
@@ -79,7 +79,7 @@ parse_script_options() {
update_shared_dir "$value"
;;
-m|--mode)
- mode="$value"
+ mode="$( parse_mode "$value" )"
;;
*)
script_usage "unrecognized parameter: $key" >&2