Changeset 2454


Ignore:
Timestamp:
Oct 7, 2009, 10:19:02 AM (10 years ago)
Author:
bruno
Message:
  • Fix an error in the test for grub conf files (or used instead of and)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2449 r2454  
    699699                ("ln -sf /boot/grub/grub.conf /boot/grub/menu.lst", 5);
    700700        }
    701         if ((!does_file_exist("/boot/grub/menu.lst")) || (!does_file_exist("/boot/grub/grub.cfg"))) {
     701        if ((!does_file_exist("/boot/grub/menu.lst")) && (!does_file_exist("/boot/grub/grub.cfg"))) {
    702702            fatal_error
    703                 ("The de facto standard location for your boot loader's config file is /boot/grub/menu.lst /boot/grub/grub.cfg or but I cannot find it there. What is wrong with your Linux distribution?");
     703                ("The de facto standard location for your boot loader's config file is /boot/grub/menu.lst or /boot/grub/grub.cfg but I cannot find it there. What is wrong with your Linux distribution?");
    704704        }
    705705    } else if (bkpinfo->boot_loader == 'E') {
Note: See TracChangeset for help on using the changeset viewer.