fix: adjust wrong function name
This commit is contained in:
parent
6b3f9c2a76
commit
a73cdcf723
|
@ -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/}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue