Changeset 1585 in MondoRescue
- Timestamp:
- Jul 29, 2007, 8:53:23 PM (17 years ago)
- Location:
- branches/2.2.5/mondo/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-string.c
r1236 r1585 944 944 sev = 2; 945 945 sprintf(reason, 946 "It's in your /home partiton. Therefore, it is important.");946 "It's in your /home directory. Therefore, it is important."); 947 947 } 948 948 if (!strncmp(filename, "/usr/", 5)) { -
branches/2.2.5/mondo/src/mondorestore/mondo-rstr-compare.c
r1321 r1585 377 377 log_OS_error(command); 378 378 sprintf(tmp, "Warning - afio returned error = %d", res); 379 log_msg(2, tmp); 379 380 } 380 381 if (length_of_file(logfile) > 5) { … … 536 537 chdir(bkpinfo->restore_path); 537 538 getcwd(new, MAX_STR_LEN - 1); 538 sprintf(tmp, "new path is %s", new);539 539 insist_on_this_cd_number(bkpinfo, g_current_media_number); 540 540 unlink("/tmp/changed.txt"); … … 589 589 long q; 590 590 char *tmp; 591 char *new; 592 char *cwd; 591 593 592 594 malloc_string(tmp); 595 malloc_string(new); 596 malloc_string(cwd); 593 597 594 598 /************************************************************************** … … 632 636 "Warning - differences found during the compare phase"); 633 637 } 634 635 retval += unmount_all_devices(mountlist);636 638 637 639 if (count_lines_in_file("/tmp/changed.txt") > 0) { … … 657 659 658 660 log_msg(2, "calling popup_changelist_from_file()"); 661 getcwd(cwd, MAX_STR_LEN - 1); 662 chdir(bkpinfo->restore_path); 663 getcwd(new, MAX_STR_LEN - 1); 659 664 popup_changelist_from_file("/tmp/changed.files"); 665 chdir(cwd); 660 666 log_msg(2, "Returning from popup_changelist_from_file()"); 661 667 } … … 664 670 ("No significant differences were found. Your backup is perfect."); 665 671 } 672 retval += unmount_all_devices(mountlist); 673 666 674 kill_petris(); 667 675 paranoid_free(tmp); 676 paranoid_free(new); 677 paranoid_free(cwd); 668 678 return (retval); 669 679 }
Note:
See TracChangeset
for help on using the changeset viewer.