Ignore:
Timestamp:
Sep 24, 2007, 1:07:01 PM (12 years ago)
Author:
Bruno Cornec
Message:

Always wrokign on fixing tmpdir problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/common/libmondo-tools.c

    r1645 r1652  
    930930{
    931931    int res = 0;
     932    char *tmp = NULL;
    932933
    933934    make_hole_for_dir(MNT_CDROM);
     
    935936    srandom((unsigned long) (time(NULL)));
    936937    insmod_crucial_modules();
    937     reset_bkpinfo();        // also sets defaults ('/'=backup path, 3=compression level)
    938938    if (bkpinfo->disaster_recovery) {
    939939        if (!does_nonMS_partition_exist()) {
     
    944944
    945945    unlink(MONDO_TRACEFILE);
    946     run_program_and_log_output("rm -Rf /tmp/changed.files*", FALSE);
     946    asprintf(&tmp,"rm -Rf %s/changed.files*",bkpinfo->tmpdir);
     947    run_program_and_log_output(tmp, FALSE);
     948    paranoid_free(tmp);
    947949    if (find_and_store_mondoarchives_home(g_mondo_home)) {
    948950        fprintf(stderr,
Note: See TracChangeset for help on using the changeset viewer.