about summary refs log tree commit diff
path: root/Completion/Mandriva/Command/_rebootin
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Mandriva/Command/_rebootin')
-rw-r--r--Completion/Mandriva/Command/_rebootin2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Mandriva/Command/_rebootin b/Completion/Mandriva/Command/_rebootin
index 3f30b2591..284ff08f1 100644
--- a/Completion/Mandriva/Command/_rebootin
+++ b/Completion/Mandriva/Command/_rebootin
@@ -2,7 +2,7 @@
 
 local context state line expl
 typeset -A opt_args
-local loader=$(sudo detectloader -q)
+local loader=${$(_call_program -p entries detectloader -q):-GRUB}
 
 _arguments -s \
     '-n[no immediate reboot just set the flags for next reboot]' \