aboutsummaryrefslogtreecommitdiff
path: root/crypt.sh
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-01-14 17:10:39 +0100
committerFederico Angelilli <code@fedang.net>2024-01-14 17:10:39 +0100
commit669028690f0ba589bb900e24670afbf08142abd1 (patch)
tree5e2f77113760f93bf18bd0ca62c1aec3d80512ce /crypt.sh
parente109069c47c8e79e2a06174d4f154b334dd7ccce (diff)
Add otp action extension
Diffstat (limited to 'crypt.sh')
-rwxr-xr-xcrypt.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypt.sh b/crypt.sh
index cd4fe47..61ddfcd 100755
--- a/crypt.sh
+++ b/crypt.sh
@@ -562,9 +562,6 @@ cmd_show() {
error "$1 not found in the crypt"
elif [[ -f "$CRYPT_PATH/$path.gpg" ]]; then
_cmd_action_file "$path" show "$@"
- elif [[ -f "$CRYPT_PATH/$path" ]]; then
- #TODO: IS THIS CASE NEEDED?
- _cmd_action_file "$path" show "$@"
else
error "Try to initialize the crypt."
fi