Changeset 1818 in MondoRescue
- Timestamp:
- Nov 21, 2007, 12:47:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-tools.c
r1791 r1818 1438 1438 strcpy(command, "mount | grep -Ew '/boot'"); 1439 1439 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,"")) { 1444 1441 if ((strstr(tmp, "LABEL=") || strstr(tmp,"UUID="))) { 1445 1442 if (!run_program_and_log_output("mount /boot", 5)) {
Note:
See TracChangeset
for help on using the changeset viewer.