Changeset 2686 in MondoRescue


Ignore:
Timestamp:
Sep 17, 2010, 10:09:06 AM (14 years ago)
Author:
Bruno Cornec
Message:

r4073@localhost: bruno | 2010-09-17 09:47:49 +0200

  • Precise a test case to avoid ambiguity
File:
1 edited

Legend:

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

    r2677 r2686  
    11821182
    11831183        if (!strcmp(tmp,"")) {
    1184             if ((strstr(tmp, "LABEL=") || strstr(tmp,"UUID="))) {
     1184            if (((strstr(tmp, "LABEL=") != NULL) || (strstr(tmp,"UUID=")) != NULL)) {
    11851185                if (!run_program_and_log_output("mount /boot", 5)) {
    11861186                    strcpy(g_boot_mountpt, "/boot");
Note: See TracChangeset for help on using the changeset viewer.