- Timestamp:
- Sep 27, 2007, 12:39:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/mondorestore/mondo-rstr-compare.c
r1645 r1664 69 69 /* Reference to global bkpinfo */ 70 70 extern struct s_bkpinfo *bkpinfo; 71 72 extern char *g_mountlist_fname; 71 73 72 74 //static char cvsid[] = "$Id$"; … … 591 593 { 592 594 int retval = 0; 595 int res = 0; 593 596 long q; 594 597 char *tmp; … … 618 621 619 622 read_cfg_file_into_bkpinfo(g_mondo_cfg_file); 623 624 /* edit_mountlist if wanted */ 625 iamhere("About to edit mountlist"); 626 if (g_text_mode) { 627 save_mountlist_to_disk(mountlist, g_mountlist_fname); 628 sprintf(tmp, "%s %s", find_my_editor(), g_mountlist_fname); 629 res = system(tmp); 630 load_mountlist(mountlist, g_mountlist_fname); 631 } else { 632 res = edit_mountlist(g_mountlist_fname, mountlist, raidlist); 633 } 634 iamhere("Finished editing mountlist"); 635 if (res) { 636 paranoid_MR_finish(1); 637 } 638 save_mountlist_to_disk(mountlist, g_mountlist_fname); 639 save_raidlist_to_raidtab(raidlist, RAIDTAB_FNAME); 640 620 641 g_current_media_number = 1; 621 642 mvaddstr_and_log_it(1, 30, "Comparing Automatically");
Note:
See TracChangeset
for help on using the changeset viewer.