From c711ffc42ca9d1d4be317f8cf096024d7f4e8694 Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Wed, 25 Sep 2024 16:09:05 -0600 Subject: [PATCH] qmnt - Drives containing encrypted partitions can now be recursively mounted properly --- tools/qmnt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qmnt b/tools/qmnt index fc81adf..124eb76 100755 --- a/tools/qmnt +++ b/tools/qmnt @@ -172,7 +172,7 @@ fi TARGET_TYPE=$(lsblk -ndo TYPE "${TARGET}") 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 - [[ "$type" = "part" ]] && TARGET="$name" "$0" $@ + [[ "$type" = "part" ]] && ( TARGET="$name" "$0" $@ )