aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAimilius <emiel.wiedijk01@gmail.com>2017-03-16 21:16:42 +0100
committerAimilius <emiel.wiedijk01@gmail.com>2017-03-16 21:16:42 +0100
commit6201daacf176008e135a7965d9aef9d4d4f8a0b8 (patch)
tree059bebe9a863c2cb44fc454ed75557bbc57374f4
parent5487cc1061c4cfd6f260b1c0195a5edb80330313 (diff)
downloadpass-otp-6201daacf176008e135a7965d9aef9d4d4f8a0b8.tar.gz
pass-otp-6201daacf176008e135a7965d9aef9d4d4f8a0b8.zip
Don't initialize passfile twice
-rwxr-xr-xotp.bash1
1 files changed, 0 insertions, 1 deletions
diff --git a/otp.bash b/otp.bash
index ef167dd..85e167c 100755
--- a/otp.bash
+++ b/otp.bash
@@ -45,7 +45,6 @@ otp_insert() {
[[ $force -eq 0 && -e $passfile ]] && yesno "An entry already exists for $path. Overwrite it?"
- local passfile="$PREFIX/$path.gpg"
set_git "$passfile"
mkdir -p -v "$PREFIX/$(dirname "$path")"