Changeset 2907 in MondoRescue for branches/3.0/mondo/src/common/libmondo-devices.c
- Timestamp:
- Nov 29, 2011, 2:58:39 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-devices.c
r2878 r2907 2973 2973 log_it("bkpinfo->tmpdir is being set to %s", bkpinfo->tmpdir); 2974 2974 2975 /* Before changing remove old ones if any */ 2976 if (bkpinfo->scratchdir) { 2977 chdir("/tmp"); 2978 mr_asprintf(&tmp, "rm -Rf %s", bkpinfo->scratchdir); 2979 paranoid_system(tmp); 2980 mr_free(tmp); 2981 } 2975 2982 sprintf(bkpinfo->scratchdir, "%s/mondo.scratch.%d", tmp, 2976 2983 (int) (random() % 32768));
Note:
See TracChangeset
for help on using the changeset viewer.