benchmark.bash: reject "-openssl" option for encfs mode

This commit is contained in:
Jakob Unterwurzacher 2016-12-13 22:16:21 +01:00
parent 15d6da6c48
commit 9be3d2c214
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ mkdir $MNT
# Mount
if [[ $OPT_ENCFS -eq 1 ]]; then
if [[ ! -z $OPT_OPENSSL ]] ; then
echo "The option $OPT_OPENSSL only works with gocryptfs"
exit 1
fi
echo "Testing EncFS at $CRYPT"
encfs --extpass="echo test" --standard $CRYPT $MNT > /dev/null
else