From 3982f728805c38153d91446c603c70f0d0affc72 Mon Sep 17 00:00:00 2001 From: Sandor Semsey Date: Thu, 2 Jan 2025 02:14:59 +0100 Subject: [PATCH] bin/pass-man: fix _check-tomb-open if there are other tombs opened --- bin/pass-man | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/pass-man b/bin/pass-man index 8c4c1d4..0d34989 100755 --- a/bin/pass-man +++ b/bin/pass-man @@ -21,7 +21,7 @@ timer=6h _usage() { cat </dev/null 2>&1 + local tomb + tomb=$(basename "${PASSWORD_STORE_TOMB_FILE:-~/.password.tomb}" .tomb) + tomb list "${tomb}" >/dev/null 2>&1 } ## Open vault