From 6201daacf176008e135a7965d9aef9d4d4f8a0b8 Mon Sep 17 00:00:00 2001 From: Aimilius Date: Thu, 16 Mar 2017 21:16:42 +0100 Subject: Don't initialize passfile twice --- otp.bash | 1 - 1 file changed, 1 deletion(-) (limited to 'otp.bash') 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")" -- cgit v1.2.3