mirror of
https://github.com/deajan/obackup.git
synced 2024-12-25 06:53:41 +01:00
Another typo bites the dust
This commit is contained in:
parent
e59fcdbe15
commit
5a8d1ab811
@ -1038,12 +1038,11 @@ function DecryptFiles {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if [ "$CRYPT_TOOL" == "gpg2" ] && [ -f "$passphraseFile" ]; then
|
||||||
secret="--passphrase-file $passphraseFile"
|
secret="--passphrase-file $passphraseFile"
|
||||||
elif [ "$CRYPT_TOOL" == "gpg" ] && [ -f "$passphraseFile" ]; then
|
elif [ "$CRYPT_TOOL" == "gpg" ] && [ -f "$passphraseFile" ]; then
|
||||||
secret="$$passphrase $(cat "$passphraseFile")"
|
secret="$$passphrase $(cat "$passphraseFile")"
|
||||||
|
|
||||||
#if [ -f "$passphraseFile" ]; then
|
#if [ -f "$passphraseFile" ]; then
|
||||||
# secret="--passphrase-file $passphraseFile"
|
# secret="--passphrase-file $passphraseFile"
|
||||||
elif [ "$passphrase" != "" ]; then
|
elif [ "$passphrase" != "" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user