From a73cdcf72392c4272fc4a2952d48a3aebd119cca Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 13 May 2022 22:56:25 +0200 Subject: [PATCH] fix: adjust wrong function name --- scripts/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index 151de1b..a5908d5 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -240,7 +240,7 @@ function create_resolve_entry_device() { } # Returns the basename of the device, if its path starts with /dev/disk/by-id/ -function shorten_dev() { +function shorten_device() { echo -n "${1#/dev/disk/by-id/}" }