Commit 766ad1f7 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Keyfile should be a file name in any place.

parent 12d2a2f6
......@@ -39,7 +39,7 @@ then
verify_gpg_passphrase
[ $foundkey -ne 0 ] && abort "Unable to decrypt."
else
keyfile=".git-crypt/keys/$1"
keyfile="$1"
[ ! -f $keyfile ] && abort "unable to read $keyfile."
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment