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/}" }