Merge 5ac6bde1d1be40392793f202b6981cc02d8d61b6 into b8cd0ab4953d053fef09c48ba04f2fbb2df57aa4

This commit is contained in:
poeplva 2023-09-10 09:34:05 +02:00 committed by GitHub
commit ca8a0f6223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ filter() { sed "s/ /:/g" | awk -F':' '$7==""{printf "%s%s (%s) %s\n",$1,$3,$5,$6
unopenedluks="$(for drive in $allluks; do
uuid="${drive%% *}"
uuid="${uuid//-}" # This is a bashism.
for open in $decrypted; do
[ -n "$decrypted" ] && for open in $decrypted; do
[ "$uuid" = "$open" ] && break 1
done && continue 1
echo "🔒 $drive"