Changeset 1747 in MondoRescue for branches/2.2.5/mondo/src/mondoarchive/main.c
- Timestamp:
- Oct 30, 2007, 1:18:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/mondoarchive/main.c
r1736 r1747 327 327 328 328 log_msg(9, "Next"); 329 make_hole_for_dir(MONDO_CACHE); 330 329 331 welcome_to_mondoarchive(); 330 332 distro_specific_kludges_at_start_of_mondoarchive(); … … 505 507 } 506 508 507 if (length_of_file(M INDI_CACHE"/changed.files") > 2) {509 if (length_of_file(MONDO_CACHE"/changed.files") > 2) { 508 510 if (g_text_mode) { 509 log_to_screen("Type 'less "M INDI_CACHE"/changed.files' to see which files don't match the archives");510 } else { 511 log_msg(1, "Type 'less "M INDI_CACHE"/changed.files' to see which files don't match the archives");511 log_to_screen("Type 'less "MONDO_CACHE"/changed.files' to see which files don't match the archives"); 512 } else { 513 log_msg(1, "Type 'less "MONDO_CACHE"/changed.files' to see which files don't match the archives"); 512 514 log_msg(2, "Calling popup_changelist_from_file()"); 513 popup_changelist_from_file(M INDI_CACHE"/changed.files");515 popup_changelist_from_file(MONDO_CACHE"/changed.files"); 514 516 log_msg(2, "Returned from popup_changelist_from_file()"); 515 517 } 516 518 } else { 517 unlink(M INDI_CACHE"/changed.files");519 unlink(MONDO_CACHE"/changed.files"); 518 520 } 519 521 log_to_screen(say_at_end); … … 528 530 run_program_and_log_output("mount", 2); 529 531 530 system("rm -f /var/cache/mondo-archive/last-backup.aborted");532 system("rm -f "MONDO_CACHE"/last-backup.aborted"); 531 533 if (!retval) { 532 534 printf("Mondoarchive ran OK.\n");
Note:
See TracChangeset
for help on using the changeset viewer.