Changeset 3263 in MondoRescue for branches/3.2/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Apr 22, 2014, 11:06:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/mondorestore/mondorestore.c
r3194 r3263 760 760 flaws_str = evaluate_mountlist(mountlist); 761 761 if (flaws_str != NULL) { 762 sprintf(tmp, 763 "Mountlist analyzed. Result: \"%s\" Switch to Interactive Mode?", 764 flaws_str); 762 mr_asprintf(tmp, "Mountlist analyzed. Result: \"%s\" Switch to Interactive Mode?", flaws_str); 765 763 mr_free(flaws_str); 766 764 if (ask_me_yes_or_no(tmp)) { 767 765 retval = interactive_mode(mountlist, raidlist); 766 mr_free(tmp); 768 767 goto after_the_nuke; 769 768 } else { … … 846 845 847 846 mr_asprintf(tmp1, "label-partitions-as-necessary %s < /tmp/fstab >> %s 2>> %s", MINDI_CACHE"/mountlist.txt", MONDO_LOGFILE, MONDO_LOGFILE); 848 res = run_program_and_log_output(tmp , TRUE);847 res = run_program_and_log_output(tmp1, TRUE); 849 848 mr_free(tmp1); 850 849 if (res) {
Note:
See TracChangeset
for help on using the changeset viewer.