Changeset 1879


Ignore:
Timestamp:
Jan 24, 2008, 6:51:03 PM (11 years ago)
Author:
bruno
Message:

postpone removal of tmpdir to avoid error messages at end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/mondorestore/mondo-restore.c

    r1875 r1879  
    33423342    unlink("/tmp/mondo-run-prog.tmp");
    33433343    set_signals(FALSE);
    3344     sprintf(tmp, "rm -Rf %s", bkpinfo->tmpdir);
    3345     run_program_and_log_output(tmp, FALSE);
    33463344    log_to_screen("Restore log (%s) copied to /var/log on your hard disk", MONDO_LOGFILE);
    33473345    sprintf(tmp,
     
    33563354        run_program_and_log_output("mount / -o remount,rw", 2);
    33573355    }                           // for b0rken distros
     3356    sprintf(tmp, "rm -Rf %s", bkpinfo->tmpdir);
     3357    system(tmp);
    33583358    paranoid_MR_finish(retval); // frees global stuff plus bkpinfo
    33593359    free_libmondo_global_strings(); // it's fine to have this here :) really :)
Note: See TracChangeset for help on using the changeset viewer.