fixed case mistake

This commit is contained in:
oddlama 2020-04-23 21:08:36 +02:00
parent 826f232807
commit 4c376dae12
No known key found for this signature in database
GPG Key ID: 88EA325D51D53908
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }