Changeset 1591 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-compare.c
- Timestamp:
- Aug 2, 2007, 12:26:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-compare.c
r1555 r1591 298 298 if (res) { 299 299 log_OS_error(command); 300 log_msg(2, tmp); 300 301 } 301 302 mr_free(command); … … 503 504 long q = 0L; 504 505 char *tmp = NULL; 506 char *new = NULL; 507 char *cwd = NULL; 508 509 malloc_string(new); 510 malloc_string(cwd); 505 511 506 512 /************************************************************************** … … 546 552 ("Warning - differences found during the compare phase")); 547 553 } 548 549 retval += unmount_all_devices(mountlist);550 554 551 555 if (count_lines_in_file("/tmp/changed.txt") > 0) { … … 575 579 576 580 mr_msg(2, "calling popup_changelist_from_file()"); 581 getcwd(cwd, MAX_STR_LEN - 1); 582 chdir(bkpinfo->restore_path); 583 getcwd(new, MAX_STR_LEN - 1); 577 584 popup_changelist_from_file("/tmp/changed.files"); 578 585 mr_msg(2, "Returning from popup_changelist_from_file()"); 586 chdir(cwd); 579 587 } 580 588 } else { … … 583 591 ("No significant differences were found. Your backup is perfect.")); 584 592 } 593 retval += unmount_all_devices(mountlist); 594 585 595 kill_petris(); 596 paranoid_free(new); 597 paranoid_free(cwd); 586 598 return (retval); 587 599 }
Note:
See TracChangeset
for help on using the changeset viewer.