fixed case mistake
This commit is contained in:
parent
826f232807
commit
4c376dae12
|
@ -203,10 +203,10 @@ resolve_device_by_id() {
|
||||||
|
|
||||||
case "$type" in
|
case "$type" in
|
||||||
'partuuid') get_device_by_partuuid "$arg" ;;
|
'partuuid') get_device_by_partuuid "$arg" ;;
|
||||||
'ptuuid') get_device_by_ptuuid "$arg" ;;
|
'ptuuid') get_device_by_stored_uuid "$arg" ;;
|
||||||
'uuid') get_device_by_uuid "$arg" ;;
|
'uuid') get_device_by_uuid "$arg" ;;
|
||||||
'mdadm') get_device_by_stored_uuid "$arg" ;;
|
'mdadm') get_device_by_stored_uuid "$arg" ;;
|
||||||
'luks') get_device_by_stored_uuid "$arg" ;;
|
'luks') get_device_by_luks_uuid "$arg" ;;
|
||||||
*) die "Cannot resolve '$type:$arg' to device (unknown type)"
|
*) die "Cannot resolve '$type:$arg' to device (unknown type)"
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue