umountall before doing storage things

This commit is contained in:
Tobias Powalowski 2022-04-08 15:52:45 +02:00
parent 677b122c6e
commit b68e018953
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ prepare_storagedrive() {
S_MKFS=0
DONE=0
NEXTITEM=""
detect_
_umountall
while [[ "${DONE}" = "0" ]]; do
if [[ -n "${NEXTITEM}" ]]; then
DEFAULT="--default-item ${NEXTITEM}"

View file

@ -1059,6 +1059,6 @@ _luks()
done
_enter_luks_passphrase || return 1
DIALOG --infobox "Encrypting ${PART}..." 0 0
cryptsetup luksFormat "${PART}" <${LUKSPASSPHRASE} >"${LOG}"
cryptsetup -q luksFormat "${PART}" <${LUKSPASSPHRASE} >"${LOG}"
_opening_luks
}