aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xotp.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/otp.bash b/otp.bash
index 25ac459..5c06dc5 100755
--- a/otp.bash
+++ b/otp.bash
@@ -256,8 +256,9 @@ cmd_otp_append() {
[[ $err -ne 0 || $# -ne 1 ]] && die "Usage: $PROGRAM $COMMAND append [--force,-f] [--echo,-e] [--secret, -s] [--issuer,-i issuer] [--account,-a account] pass-name"
- local prompt uri
+ local uri
local path="${1%/}"
+ local prompt="$path"
local passfile="$PREFIX/$path.gpg"
[[ -f $passfile ]] || die "Passfile not found"