Changeset 2696 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-tools.c
- Timestamp:
- Jan 25, 2011, 10:34:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-tools.c
r2635 r2696 376 376 } 377 377 378 log_msg(1, " Foo");378 log_msg(1, "Post-param"); 379 379 if (bkpinfo->backup_media_type == tape) { 380 log_msg(1, " Bar");380 log_msg(1, "Tape"); 381 381 if (bkpinfo->media_device == NULL) { 382 382 return(1); … … 498 498 mr_asprintf(extra_cdrom_params, "blank=fast "); 499 499 } 500 tmp = find_home_of_exe("cdrecord"); 501 if (tmp) { 502 mr_asprintf(cdr_exe, "cdrecord"); 500 if (extra_cdrom_params == NULL) { 501 // If not initialized earlier, do it now 502 mr_asprintf(extra_cdrom_params, " "); 503 } 504 if (find_home_of_exe("cdrecord")) { 505 strcpy(cdr_exe, "cdrecord"); 506 } else if (find_home_of_exe("dvdrecord")) { 507 strcpy(cdr_exe, "dvdrecord"); 503 508 } else { 504 509 mr_free(tmp); … … 1181 1186 1182 1187 if (!strcmp(tmp,"")) { 1183 if ((strstr(tmp, "LABEL=") || strstr(tmp,"UUID="))) {1188 if ((strstr(tmp, "LABEL=") != NULL) || (strstr(tmp,"UUID=")!= NULL)) { 1184 1189 if (!run_program_and_log_output("mount /boot", 5)) { 1185 1190 strcpy(g_boot_mountpt, "/boot");
Note:
See TracChangeset
for help on using the changeset viewer.