Changeset 2522 in MondoRescue
- Timestamp:
- Jan 4, 2010, 8:22:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-tools.c
r2518 r2522 590 590 mr_asprintf(&iso_path, "%s", ""); 591 591 } else { 592 mr_asprintf(&iso_path, "%s", iso_tmp + strlen(iso_mnt)); 592 // If iso_mnt is only / then iso_path is the full dir 593 // (the formula bellow doesn't work in this case) 594 if (strcmp(iso_mnt, "/") == 0) { 595 mr_asprintf(&iso_path, "%s", iso_tmp); 596 // else it's a part of iso_tmp 597 } else { 598 mr_asprintf(&iso_path, "%s", iso_tmp + strlen(iso_mnt)); 599 } 593 600 } 594 601 mr_free(iso_tmp); 602 mr_free(iso_mnt); 595 603 596 604 mr_asprintf(&tmp, "%s/ISODIR", bkpinfo->tmpdir);
Note:
See TracChangeset
for help on using the changeset viewer.