diff options
author | Jertzukka <Jertzukka@gmail.com> | 2023-05-19 00:09:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 23:09:32 +0200 |
commit | 1043bff9670f27bc7fc6543841dbe0b3779d89d9 (patch) | |
tree | 23f42f3e7e0136f8b68949f695c773408c89f9dd /src/Setup/Linux | |
parent | 8072207eb6ad0783a4e2c54addc4b3196738029e (diff) | |
download | VeraCrypt-1043bff9670f27bc7fc6543841dbe0b3779d89d9.tar.gz VeraCrypt-1043bff9670f27bc7fc6543841dbe0b3779d89d9.zip |
Fix mount.veracrypt (#1064)
Reverses order of --non-interactive and --text to actually make it work, also fix --pim working.
Diffstat (limited to 'src/Setup/Linux')
-rwxr-xr-x[-rw-r--r--] | src/Setup/Linux/mount.veracrypt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Setup/Linux/mount.veracrypt b/src/Setup/Linux/mount.veracrypt index 499ad9b9..a891c253 100644..100755 --- a/src/Setup/Linux/mount.veracrypt +++ b/src/Setup/Linux/mount.veracrypt @@ -13,11 +13,11 @@ for arg in $*; do fs=*) VCOPTIONS=(${VCOPTIONS[*]} --filesystem=${arg#*=});; keyfiles=*) VCOPTIONS=(${VCOPTIONS[*]} --keyfiles=${arg#*=});; password=*) VCOPTIONS=(${VCOPTIONS[*]} --password=${arg#*=});; - pim=*) VCOPTIONS=(${VCOPTIONS[*]} --pim==${arg#*=});; + pim=*) VCOPTIONS=(${VCOPTIONS[*]} --pim=${arg#*=});; protect-hidden=*) VCOPTIONS=(${VCOPTIONS[*]} --protect-hidden=${arg#*=});; slot=*) VCOPTIONS=(${VCOPTIONS[*]} --slot=${arg#*=});; *) OPTIONS="${OPTIONS}${arg},";; esac done -/usr/bin/veracrypt --non-interactive --text ${VCOPTIONS[*]} --fs-options="${OPTIONS%,*}" ${DEV} ${MNTPT} +/usr/bin/veracrypt --text --non-interactive ${VCOPTIONS[*]} --fs-options="${OPTIONS%,*}" ${DEV} ${MNTPT} |