Try to close luks volume before openning

parent 04acb353
Pipeline #234 failed with stage
......@@ -304,6 +304,7 @@ do_log "démarrage le `date`"
if $luks
cryptsetup luksClose $luksname
echo $ENCPASS | cryptsetup luksOpen $dev $luksname
test_and_fail $? "Impossible de déchiffrer le disque, abandon"
/bin/mount -t auto /dev/mapper/$luksname $dest
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment