Changeset 2506 in MondoRescue for branches/2.2.9/mondo/src
- Timestamp:
- Jan 4, 2010, 11:31:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-tools.c
r2470 r2506 610 610 iso_path[0] = '\0'; 611 611 } else { 612 sprintf(iso_path, "%s", iso_tmp + strlen(iso_mnt)); 612 // If iso_mnt is only / then iso_path is the full dir 613 // (the formula bellow doesn't work in this case) 614 if (strcmp(iso_mnt, "/") == 0) { 615 sprintf(iso_path, "%s", iso_tmp); 616 // else it's a part of iso_tmp 617 } else { 618 sprintf(iso_path, "%s", iso_tmp + strlen(iso_mnt)); 619 } 613 620 } 614 621 sprintf(tmp, "%s/ISODIR", bkpinfo->tmpdir);
Note:
See TracChangeset
for help on using the changeset viewer.