--- src/core/libs/lib-blockdevices-filesystems.sh | 2 +- src/core/libs/lib-ui-interactive.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index ef1a9b0..4457721 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -948,7 +948,7 @@ mdraid_slave0 () # $1 md raid blockdevice (ex: /dev/md0) # return a list of array members from given md array # ex: /dev/md0 has slaves: "/dev/sda1 /dev/sdb2 /dev/sdc2" -mdraid_all-slaves () +mdraid_all_slaves () { local slave= local slaves= diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 9ecd00c..19a0cbb 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -925,7 +925,7 @@ interactive_grub() { local ask_str="Do you want to install grub to the MBR of each harddisk from your BOOT array "$md" ? (recommended)" ask_yesno "$ask_str" yes if [ $? -eq 0 ]; then - slaves=$(mdraid_all-slaves $md) + slaves=$(mdraid_all_slaves $md) for slave in $slaves; do boothd=$(echo $slave | cut -c -8) bootpart=$(mdraid_slave0 $md) -- 1.7.3.4