Changeset 3401 in MondoRescue


Ignore:
Timestamp:
Aug 5, 2015, 6:50:14 AM (9 years ago)
Author:
Bruno Cornec
Message:

Avoids log file overwrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-archive.c

    r3400 r3401  
    838838    update_evalcall_form(3);
    839839
    840     mr_asprintf(command, "mindi %s --custom %s %s/images '%s' '%s' '%s' '%ld' '%s' '%s' '%s' '%s' '%s' '%ld' '%s' '%s' '%s' '%s' '%ld' '%d' '%s' '%s' '%s' '%s' 2>&1 > %s",
     840    mr_asprintf(command, "mindi %s --custom %s %s/images '%s' '%s' '%s' '%ld' '%s' '%s' '%s' '%s' '%s' '%ld' '%s' '%s' '%s' '%s' '%ld' '%d' '%s' '%s' '%s' '%s' 2>&1 >> %s",
    841841            //          1           2   3          4   5    6     7     8    9   10   11   12   13    14   15   16   17   18    19   20   21  22    23         24
    842842            tmp2,           // parameter #1
     
    891891    log_msg(2, command);
    892892
    893 //  popup_and_OK("Pausing");
    894 
    895893    // BCO old call :
    896894    //res = run_program_and_log_output(command, FALSE);
     895    log_msg(1, "Call to mindi");
     896    log_msg(1, "-------------");
    897897    res = run_external_binary_with_percentage_indicator_NEW("Calling MINDI for boot disk",command);
    898898    /* May crash now that we changed the call
     
    900900    */
    901901    paranoid_free(command);
     902    log_msg(1, "-------------");
     903    log_msg(1, "End of call to mindi");
    902904
    903905    if (bkpinfo->nonbootable_backup) {
Note: See TracChangeset for help on using the changeset viewer.