Changeset 1652 in MondoRescue for branches/2.2.5/mondo/src/common/libmondo-tools.c
- Timestamp:
- Sep 24, 2007, 1:07:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo/src/common/libmondo-tools.c
r1645 r1652 930 930 { 931 931 int res = 0; 932 char *tmp = NULL; 932 933 933 934 make_hole_for_dir(MNT_CDROM); … … 935 936 srandom((unsigned long) (time(NULL))); 936 937 insmod_crucial_modules(); 937 reset_bkpinfo(); // also sets defaults ('/'=backup path, 3=compression level)938 938 if (bkpinfo->disaster_recovery) { 939 939 if (!does_nonMS_partition_exist()) { … … 944 944 945 945 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); 947 949 if (find_and_store_mondoarchives_home(g_mondo_home)) { 948 950 fprintf(stderr,
Note:
See TracChangeset
for help on using the changeset viewer.