summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh2
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
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 298c4d2..7901dfe 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 d42ebdb..d64f673 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)