diff options
author | Jakob Unterwurzacher | 2016-10-11 23:19:21 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-10-11 23:19:21 +0200 |
commit | 7c053e67f27af8cf7ad73f8db9c8622634cbabe8 (patch) | |
tree | 3fb0a4397dafbad7b6676f6a0fde38521abdb474 /internal/siv_aead/siv_aead.go | |
parent | 72efd3b6c3668191bd596c65caf623571ee12908 (diff) |
contrib: add gocryptfs-maybe.bash
Conditionally try to mount a gocryptfs filesystem. If either
* CIPHERDIR does not exist OR
* something is already mounted on MOUNTPOINT
print a message to stdout (not stderr!) but exit with 0.
This is meant to be called from automated mount systems like pam_mount,
where you want to avoid error messages if the filesystem does not exist,
or duplicate mounts if the filesystem has already been mounted.
Diffstat (limited to 'internal/siv_aead/siv_aead.go')
0 files changed, 0 insertions, 0 deletions