diff options
-rwxr-xr-x | bin/gpg-wrapper | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/gpg-wrapper b/bin/gpg-wrapper index ab9f8f5..2e2e92d 100755 --- a/bin/gpg-wrapper +++ b/bin/gpg-wrapper @@ -23,14 +23,15 @@ else decrypted_dir=${GNUPGHOME} fi +# --lock-never is needed since encfs doesn't support locking any more if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --homedir ${decrypted_dir} $@ + exec gpg --lock-never --homedir ${decrypted_dir} $@ else gpg-mounter if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --homedir ${decrypted_dir} $@ + exec gpg --lock-never --homedir ${decrypted_dir} $@ else echo 'No gnupg.conf in ${decrypted_dir}' exit 1 |