Hi, I have there a small patch to commands/ls.c, whichs makes the ls-command return an error for non existing fils (as the bash ls command).
With this patch, one can have in the grub.cfg files statements like: if ls /boot/grub/grub.cfg.gfx ; then source /boot/grub/grub.cfg.gfx fi I would be glad if you accept the patch or give me comments to improve the patch. Andreas
lsreturnserr
Description: lsreturnserr
------------------------------------------------------------------------------------------------------- Registergericht: Traunstein / Registry Court: HRB 275 – Sitz / Head Office: Traunreut Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard Geschäftsführung / Management Board: Thomas Sesselmann (Vorsitzender / Chairman), Michael Grimm, Rainer Hagl, Matthias Fauser E-Mail Haftungsausschluss / E-Mail Disclaimer: http://www.heidenhain.de/disclaimer
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel