fix: adjust wrong function name

This commit is contained in:
oddlama 2022-05-13 22:56:25 +02:00
parent 6b3f9c2a76
commit a73cdcf723
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ function create_resolve_entry_device() {
} }
# Returns the basename of the device, if its path starts with /dev/disk/by-id/ # 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/}" echo -n "${1#/dev/disk/by-id/}"
} }