Ignore:
Timestamp:
Apr 15, 2016, 11:20:20 PM (8 years ago)
Author:
Bruno Cornec
Message:

Add a MONDO_LOGFILENAME variable to allow the basename to be used when compressing the log on the target media

File:
1 edited

Legend:

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

    r3564 r3567  
    15171517
    15181518    /*  Copy the current logfile - of course incomplete to the media */
    1519     mr_system("gzip -c9 %s > %s/archives/%s", MONDO_LOGFILE, tmp1, MONDO_LOGFILE);
     1519    mr_system("gzip -c9 %s > %s/archives/%s", MONDO_LOGFILE, tmp1, MONDO_LOGFILENAME);
    15201520
    15211521    if (is_this_device_mounted(bkpinfo->media_device)) {
Note: See TracChangeset for help on using the changeset viewer.