Re: grub shell: unkown commands alwasy exit with zero code

2024-01-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jan 16, 2024 at 11:34 AM Michael Chang via Grub-devel wrote: > > On Fri, Jan 12, 2024 at 05:58:02PM +0100, Itxaka serrano wrote: > > Hey all, > > > > I opened a bug because this behaviour doesnt seem correct to me: > > > > https://savannah.gnu.org/bugs/?65154 > > > > > > Example: > > > > g

Re: grub shell: unkown commands alwasy exit with zero code

2024-01-16 Thread Michael Chang via Grub-devel
On Fri, Jan 12, 2024 at 05:58:02PM +0100, Itxaka serrano wrote: > Hey all, > > I opened a bug because this behaviour doesnt seem correct to me: > > https://savannah.gnu.org/bugs/?65154 > > > Example: > > grub> hello > error: ../../grub-core/script/function.c:119:can't find command `hello'. > g

grub shell: unkown commands alwasy exit with zero code

2024-01-12 Thread Itxaka serrano
Hey all, I opened a bug because this behaviour doesnt seem correct to me: https://savannah.gnu.org/bugs/?65154 Example: grub> hello error: ../../grub-core/script/function.c:119:can't find command `hello'. grub> echo $? 0 Kind of weird because on the code it seems like its returning a GRUB_ER