On Mon, May 19, 2025 at 11:49:54PM +0530, Shreenidhi Shedi wrote:
> From: Shreenidhi Shedi <shreenidhi.sh...@broadcom.com>
>
> Environment files may contain empty lines, which should be
> ignored during parsing. Currently, these lines are not skipped and
> resulting in incorrect behavior. This patch adds a check to skip empty
> lines along with those starting with `#'.
>
> Signed-off-by: Shreenidhi Shedi <shreenidhi.sh...@broadcom.com>
> Reviewed-by: Alexey Makhalov  <alexey.makha...@broadcom.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Though I suggest to use grub-editenv to edit environment files to avoid
various format issues...

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to