Skip to content

Commit

Permalink
src/winusb: install_bootloader_grub: Fix not catching func. arguments
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 5, 2017
1 parent f910878 commit 668e11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ determine_target_parameters(){

install_bootloader_grub(){
util_check_function_parameters_quantity 2 "${#}"
local -r target_fs_mountpoint; shift 1
local -r target_device
local -r target_fs_mountpoint="${1}"; shift 1
local -r target_device="${1}"

echo_with_color blue "Installing GRUB bootloader for legacy boot support..."
"${command_grubinstall}"\
Expand Down

0 comments on commit 668e11c

Please sign in to comment.