[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#260136: grub-installer: fails in postinst (missing get_serial_console)



[Steinar H. Gunderson]
> get_serial_console() is a function defined further down in the script,

I guess this is the problem.  Shell script functions need to be
defined before they are used.

> which appearently can't be run in a subshell in ash like line 7 tries to
> do:
> 
> serial="$(get_serial_console)"

It should work if the function is defined above the point where it is
used.



Reply to: