aboutsummaryrefslogtreecommitdiff
path: root/tessen
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2021-09-08 03:02:59 +0530
committerAyush Agarwal <ayush@fastmail.in>2021-09-08 03:02:59 +0530
commitfcbc0ff1676a720e48022157b9c7f72e5bfc61ed (patch)
tree5a48f967760e4084a96911765b4e527a06dd594f /tessen
parent18a0a9096f7d7a900e0ae874a61f2f0b43a7a6aa (diff)
fix the order of validation checks
Diffstat (limited to 'tessen')
-rwxr-xr-xtessen6
1 files changed, 3 insertions, 3 deletions
diff --git a/tessen b/tessen
index 9bf522c..2d436e7 100755
--- a/tessen
+++ b/tessen
@@ -216,13 +216,13 @@ main() {
unset -v opt
shift $((OPTIND - 1))
+ validate_backend
+ validate_clip_time
+
readonly WTYPE
readonly BACKEND
readonly CLIP_TIME
- validate_backend
- validate_clip_time
-
trap 'die' EXIT TERM
get_pass_file
get_pass_data