1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

Another typo bites the dust

This commit is contained in:
deajan 2016-09-04 22:05:01 +02:00
parent e59fcdbe15
commit 5a8d1ab811

View File

@ -1038,12 +1038,11 @@ function DecryptFiles {
exit 1
fi
TODO: ugly fix : gpg 1.4.x fails with passphrase-file but not with passphrase (error is: can't query passphrase in batch mode)
#TODO: ugly fix : gpg 1.4.x fails with passphrase-file but not with passphrase (error is: can't query passphrase in batch mode)
if [ "$CRYPT_TOOL" == "gpg2" ] && [ -f "$passphraseFile" ]; then
secret="--passphrase-file $passphraseFile"
elif [ "$CRYPT_TOOL" == "gpg" ] && [ -f "$passphraseFile" ]; then
secret="$$passphrase $(cat "$passphraseFile")"
#if [ -f "$passphraseFile" ]; then
# secret="--passphrase-file $passphraseFile"
elif [ "$passphrase" != "" ]; then