Changeset 3577 in MondoRescue


Ignore:
Timestamp:
Apr 28, 2016, 1:50:21 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • Fix #787 by cleaning the target dir of its syslinux content
File:
1 edited

Legend:

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

    r3568 r3577  
    14971497
    14981498        /* Command to execute */
    1499         mr_asprintf(tmp,"cd %s ; mv * %s", bkpinfo->scratchdir, tmp1);
     1499        mr_asprintf(tmp,"cd %s ; rm -fr %s/syslinux ; mv * %s", bkpinfo->scratchdir, tmp1, tmp1);
    15001500        res = eval_call_to_make_USB(tmp, message_to_screen);
    15011501        if (res) {
     
    15151515    }
    15161516    paranoid_free(message_to_screen);
    1517     paranoid_free(tmp1);
    15181517
    15191518    /*  Copy the current logfile - of course incomplete to the media */
    15201519    mr_system("gzip -c9 %s > %s/archives/%s", MONDO_LOGFILE, tmp1, MONDO_LOGFILENAME);
     1520    paranoid_free(tmp1);
    15211521
    15221522    if (is_this_device_mounted(bkpinfo->media_device)) {
Note: See TracChangeset for help on using the changeset viewer.