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" $@ )