summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAyush Agarwal <ayushnix@fastmail.com>2022-02-24 21:38:00 +0530
committerAyush Agarwal <ayushnix@fastmail.com>2022-02-24 21:38:00 +0530
commitcb0541f4615ff40b574685b3d3435fc10194f500 (patch)
tree00b97b77465a6d2aeab6c647467a44f8a89d6c51
parente48933935e00241ab9a5918bddda93f0126e2f79 (diff)
fix: don't check the size of the selected file
-rwxr-xr-xtessen2
1 files changed, 1 insertions, 1 deletions
diff --git a/tessen b/tessen
index fd5e6fd..d4d93b6 100755
--- a/tessen
+++ b/tessen
@@ -48,7 +48,7 @@ get_pass_files() {
tsn_passfile="$(printf "%s\n" "${tmp_pass_files[@]}" \
| "$dmenu_backend" "${dmenu_backend_opts[@]}")"
- if ! [[ -s "$tmp_prefix/$tsn_passfile".gpg ]]; then
+ if ! [[ -f "$tmp_prefix/$tsn_passfile".gpg ]]; then
_die
fi