−?
This commit is contained in:
parent
d28e44097c
commit
dce638fcbd
2 changed files with 2 additions and 4 deletions
3
cs
3
cs
|
@ -53,8 +53,7 @@ case "${action}" in
|
||||||
;;
|
;;
|
||||||
"${ACTION_CLOSE}")
|
"${ACTION_CLOSE}")
|
||||||
echo "${container_map_file} ← ${container_mount_directory}"
|
echo "${container_map_file} ← ${container_mount_directory}"
|
||||||
umount "${container_map_file}"
|
if umount "${container_map_file}"; then
|
||||||
if [ ${?} -eq 0 ]; then
|
|
||||||
rmdir --ignore-fail-on-non-empty "${container_mount_directory}"
|
rmdir --ignore-fail-on-non-empty "${container_mount_directory}"
|
||||||
echo "${container_file} ← ${container_map_file}"
|
echo "${container_file} ← ${container_map_file}"
|
||||||
cryptsetup luksClose "${container_name}"
|
cryptsetup luksClose "${container_name}"
|
||||||
|
|
3
cs.old
3
cs.old
|
@ -53,8 +53,7 @@ case "${action}" in
|
||||||
;;
|
;;
|
||||||
"${ACTION_CLOSE}")
|
"${ACTION_CLOSE}")
|
||||||
echo "${container_map_file} ← ${container_mount_directory}"
|
echo "${container_map_file} ← ${container_mount_directory}"
|
||||||
umount "${container_map_file}"
|
if umount "${container_map_file}"; then
|
||||||
if [ ${?} -eq 0 ]; then
|
|
||||||
rmdir --ignore-fail-on-non-empty "${container_mount_directory}"
|
rmdir --ignore-fail-on-non-empty "${container_mount_directory}"
|
||||||
echo "${container_file} ← ${container_map_file}"
|
echo "${container_file} ← ${container_map_file}"
|
||||||
cryptsetup luksClose "${container_name}"
|
cryptsetup luksClose "${container_name}"
|
||||||
|
|
Loading…
Reference in a new issue