diff options
Diffstat (limited to '.local/bin/dmenumount')
| -rwxr-xr-x | .local/bin/dmenumount | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount index cb0601e..abeb0ce 100755 --- a/.local/bin/dmenumount +++ b/.local/bin/dmenumount @@ -50,7 +50,7 @@ asktype() { \ } anddrives=$(simple-mtpfs -l 2>/dev/null) -usbdrives="$(lsblk -rpo "name,type,size,label,mountpoint" | grep 'part\|rom' | sed 's/ /:/g' | awk -F':' '$5==""{printf "%s (%s) %s\n",$1,$3,$4}')" +usbdrives="$(lsblk -rpo "name,type,size,label,mountpoint,fstype" | grep -v crypto_LUKS | grep 'part\|rom' | sed 's/ /:/g' | awk -F':' '$5==""{printf "%s (%s) %s\n",$1,$3,$4}')" if [ -z "$usbdrives" ]; then [ -z "$anddrives" ] && echo "No USB drive or Android device detected" && exit |
