correction bug montage

This commit is contained in:
neox 2024-09-20 15:41:52 +02:00
parent efe8de9c00
commit 4d82bfa68a
No known key found for this signature in database
GPG Key ID: 57BC26A3687116F6
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ fi
TARGET=$1
PASSWORDFILE=$2
CLEAR_DIR="~/${TARGET}_clear"
CLEAR_DIR=~/${TARGET}_clear
umount $TARGET
rm -rf $CLEAR_DIR

View File

@ -13,8 +13,8 @@ TARGET=$1
PASSWORDFILE=$2
# Création des répertoires si nécessaire
CLEAR_DIR="~/${TARGET}_clear"
mkdir -p "$CLEAR_DIR"
CLEAR_DIR=~/${TARGET}_clear
mkdir -p ${CLEAR_DIR}
gocryptfs $TARGET $CLEAR_DIR --passfile $PASSWORDFILE