Changeset 2704 in MondoRescue for branches/2.2.10/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Jan 27, 2011, 7:31:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/mondorestore/mondorestore.c
r2696 r2704 448 448 log_it("Done loading config file; resizing ML"); 449 449 450 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE );450 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 451 451 if (strstr(tmp1, "noresize")) { 452 452 log_msg(1, "Not resizing mountlist."); … … 742 742 load_mountlist(mountlist, MINDI_CACHE"/mountlist.txt"); // in case read_cfg_file_into_bkpinfo updated the mountlist 743 743 744 tmp = call_program_and_get_last_line_of_output("cat " CMDLINE );744 tmp = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 745 745 if (strstr(tmp, "noresize")) { 746 746 log_msg(2, "Not resizing mountlist."); … … 777 777 twenty_seconds_til_yikes(); 778 778 g_fprep = fopen("/tmp/prep.sh", "w"); 779 tmp = call_program_and_get_last_line_of_output("cat " CMDLINE );779 tmp = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 780 780 if (strstr(tmp, "nopart")) { 781 781 log_msg(2, "Not partitioning drives due to 'nopart' option."); … … 850 850 851 851 after_the_nuke: 852 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE );852 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 853 853 if (retval) { 854 854 log_to_screen("Errors occurred during the nuke phase."); … … 2589 2589 /* Configure global variables */ 2590 2590 malloc_libmondo_global_strings(); 2591 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE );2591 tmp1 = call_program_and_get_last_line_of_output("cat " CMDLINE,TRUE); 2592 2592 if (strstr(tmp1, "textonly")) { 2593 2593 g_text_mode = TRUE; … … 2601 2601 setup_newt_stuff(); /* call newtInit and setup screen log */ 2602 2602 2603 tmp1 = call_program_and_get_last_line_of_output("which mondorestore" );2603 tmp1 = call_program_and_get_last_line_of_output("which mondorestore",TRUE); 2604 2604 strcpy(g_mondo_home, tmp1); 2605 2605 mr_free(tmp1);
Note:
See TracChangeset
for help on using the changeset viewer.