Changeset 3292 in MondoRescue for branches/3.2/mondo/src/common/libmondo-archive.c
- Timestamp:
- May 27, 2014, 5:53:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-archive.c
r3288 r3292 843 843 mr_asprintf(command, "mindi %s --custom %s %s/images '%s' '%s' \ 844 844 '%s' %ld '%s' '%s' '%s' \ 845 '%s' %s %ld '%s' '%s' '%s' '%s' %ld %d '%s' ", tmp2, bkpinfo->tmpdir, // parameter #2845 '%s' %s %ld '%s' '%s' '%s' '%s' %ld %d '%s' 2>&1 > %s", tmp2, bkpinfo->tmpdir, // parameter #2 846 846 bkpinfo->scratchdir, // parameter #3 847 847 bkpinfo->kernel_path, // parameter #4 … … 864 864 use_lzma_sz, // parameter #20 (STRING) 865 865 value, // parameter #21 (STRING) 866 MONDO_LOGFILE, // redirect to log file 866 867 MONDO_LOGFILE); 867 868 … … 888 889 // popup_and_OK("Pausing"); 889 890 890 res = run_program_and_log_output(command, FALSE); 891 // BCO old call : 892 //res = run_program_and_log_output(command, FALSE); 893 res = run_external_binary_with_percentage_indicator_NEW("Calling MINDI for boot disk",command); 894 /* May crash now that we changed the call 891 895 update_evalcall_form(99); 896 */ 892 897 paranoid_free(command); 893 898 … … 929 934 } else { 930 935 log_to_screen("Mindi failed to create your boot+data disks."); 931 mr_asprintf(command, "grep 'Fatal error' /var/log/mindi.log");936 mr_asprintf(command, "grep 'Fatal error' %s", MINDI_LOGFILE); 932 937 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output(command)); 933 938 mr_free(command); … … 1638 1643 mr_free(tmp3); 1639 1644 } 1645 mr_free(tmp); 1640 1646 mr_free(tmp2); 1641 1647 mr_free(tmp3);
Note:
See TracChangeset
for help on using the changeset viewer.