From 47c8a75f97f21ae6cffa61e61e62000642f82ab7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 6 Jan 2022 20:11:05 +0300 Subject: db.sh: add parse_mode function --- links-chmod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'links-chmod') 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 -- cgit v1.2.3