summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-ui-interactive.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
1 files changed, 1 insertions, 1 deletions
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)