Changeset 2379 in MondoRescue


Ignore:
Timestamp:
Sep 9, 2009, 6:24:23 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Do not copy mondorestore in libmondo-files.c as it's done in mindi viw deplist.txt and not in the same place.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-files.c

    r2357 r2379  
    992992 * Copy the files that Mondo/Mindi need to run to the scratchdir or tempdir.
    993993 * Currently this includes: copy Mondo's home directory to scratchdir,
    994  * copy LAST-FILELIST-NUMBER to scratchdir, copy mondorestore
    995  * and post-nuke.tgz (if it exists) to tmpdir, and run "hostname > scratchdir/HOSTNAME".
     994 * copy LAST-FILELIST-NUMBER to scratchdir, copy post-nuke.tgz (if it exists) to tmpdir,
     995 * and run "hostname > scratchdir/HOSTNAME".
    996996 * @param bkpinfo The backup information structure. Fields used:
    997997 * - @c bkpinfo->postnuke_tarball
     
    10351035        fatal_error("'which mondorestore' returned null. Where's your mondorestore? `which` can't find it. That's odd. Did you install mondorestore?");
    10361036    }
    1037     mr_asprintf(command, "cp -f %s %s", tmp, bkpinfo->tmpdir);
    1038     mr_free(tmp);
    1039 
    1040     res = run_program_and_log_output(command, FALSE);
    1041     mr_free(command);
    1042 
    1043     if (res) {
    1044         fatal_error("Failed to copy mondorestore to tmpdir");
    1045     }
     1037    mr_free(tmp);
    10461038
    10471039    mr_asprintf(command, "hostname > %s/HOSTNAME", bkpinfo->scratchdir);
Note: See TracChangeset for help on using the changeset viewer.