diff --git a/src/systemd/clevis-luks-askpass b/src/systemd/clevis-luks-askpass index 6fe5269a..93c59f47 100755 --- a/src/systemd/clevis-luks-askpass +++ b/src/systemd/clevis-luks-askpass @@ -47,6 +47,9 @@ while true; do [ -z "$d" -o -z "$s" ] && continue + # If the device is not initialized, sliently skip it. + luksmeta test -d "$d" || continue + while read -r slot state uuid; do [ "$state" != "active" ] && continue [ "$uuid" != "$UUID" ] && continue