mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
fix the degrade
This commit is contained in:
parent
f5d39aa867
commit
ed45150781
2 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ fi # if erase all
|
|||
|
||||
# ----- Open the LUKS partition -----
|
||||
# Open the crypt partition.
|
||||
printf %s "${PASSPHRASE}" | cryptsetup open -e - "${DEV}${CRYPTPARTITION}" ${CRYPTPARTNAME}
|
||||
printf %s "${PASSPHRASE}" | cryptsetup open -d - "${DEV}${CRYPTPARTITION}" ${CRYPTPARTNAME}
|
||||
|
||||
# Check whether successful open. If mapped, it is successful.
|
||||
if [ ! -e /dev/mapper/${CRYPTPARTNAME} ] ; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue