Changeset 1818 in MondoRescue


Ignore:
Timestamp:
Nov 21, 2007, 12:47:46 AM (16 years ago)
Author:
Bruno Cornec
Message:
File:
1 edited

Legend:

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

    r1791 r1818  
    14381438        strcpy(command, "mount | grep -Ew '/boot'");
    14391439        strcpy(tmp, call_program_and_get_last_line_of_output(command));
    1440         if (strcmp(tmp,"")) {
    1441             /* Found something */
    1442             strcpy(g_boot_mountpt, "/boot");
    1443         } else {
     1440        if (!strcmp(tmp,"")) {
    14441441            if ((strstr(tmp, "LABEL=") || strstr(tmp,"UUID="))) {
    14451442                if (!run_program_and_log_output("mount /boot", 5)) {
Note: See TracChangeset for help on using the changeset viewer.