diff options
author | Ayush Agarwal <ayushnix@fastmail.com> | 2022-02-24 21:38:00 +0530 |
---|---|---|
committer | Ayush Agarwal <ayushnix@fastmail.com> | 2022-02-24 21:38:00 +0530 |
commit | cb0541f4615ff40b574685b3d3435fc10194f500 (patch) | |
tree | 00b97b77465a6d2aeab6c647467a44f8a89d6c51 | |
parent | e48933935e00241ab9a5918bddda93f0126e2f79 (diff) |
fix: don't check the size of the selected file
-rwxr-xr-x | tessen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |