summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 99010e9..d7b00b7 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -213,7 +213,7 @@ case "$command" in
else
echo "${path%\/}"
fi
- tree -l --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/'
+ tree -l --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\.gpg$//'
else
passfile="$PREFIX/$path.gpg"
if [[ ! -f $passfile ]]; then