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:
parent
e59fcdbe15
commit
5a8d1ab811
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user