[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] grub-fstest: Show error message if command causes grub_e
From: |
Thomas Schmitt |
Subject: |
Re: [PATCH 0/2] grub-fstest: Show error message if command causes grub_errno |
Date: |
Fri, 21 Jun 2024 21:47:43 +0200 |
Hi,
somehow i managed to omit the first paragraph of the cover letter:
---------------------------------------------------------------------
grub-fstest describes itself as "debug tool for filesystem driver" but
fails to forward to the user the grub_errno status and grub_errmsg of the
drivers under command "ls". Further it does not indicate such errors by
its exit status.
Reason is that function grub_cmd_ls() in grub-core/commands/ls.c
unconditionally returns 0 and that grub_errno is not used anywhere in
util/grub-fstest.c.
---------------------------------------------------------------------
Have a nice day :)
Thomas