From 4c376dae129862323687e6e29761e5032bc1de4d Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 23 Apr 2020 21:08:36 +0200 Subject: [PATCH] fixed case mistake --- scripts/utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index ab38ffb..dcceb3e 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -203,10 +203,10 @@ resolve_device_by_id() { case "$type" in '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" ;; '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)" esac }