qmnt - Drives containing encrypted partitions can now be recursively mounted properly
This commit is contained in:
parent
168ef3cbf7
commit
c711ffc42c
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ fi
|
||||||
TARGET_TYPE=$(lsblk -ndo TYPE "${TARGET}")
|
TARGET_TYPE=$(lsblk -ndo TYPE "${TARGET}")
|
||||||
if [[ ( "$TARGET_TYPE" == "disk" || "$TARGET_TYPE" == "loop" ) && -z "$(blkid -o value -s TYPE "${TARGET}")" ]]; then
|
if [[ ( "$TARGET_TYPE" == "disk" || "$TARGET_TYPE" == "loop" ) && -z "$(blkid -o value -s TYPE "${TARGET}")" ]]; then
|
||||||
lsblk --list --paths --noheadings --output NAME,TYPE "${TARGET}" | while read name type; do
|
lsblk --list --paths --noheadings --output NAME,TYPE "${TARGET}" | while read name type; do
|
||||||
[[ "$type" = "part" ]] && TARGET="$name" "$0" $@
|
[[ "$type" = "part" ]] && ( TARGET="$name" "$0" $@ ) </dev/tty
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue