Changeset 3060 in MondoRescue for branches/3.0/mondo/src/common/libmondo-cli.c
- Timestamp:
- Nov 10, 2012, 5:05:37 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-cli.c
r2946 r3060 107 107 // } 108 108 /* Before erasing dirs go into a safe place */ 109 chdir("/tmp"); 109 if (chdir("/tmp")) { 110 // FIXME 111 } 110 112 sprintf(tmp, "rm -Rf %s/tmp.mondo.*", bkpinfo->tmpdir); 111 113 paranoid_system(tmp); … … 180 182 int i = 0; 181 183 int retval = 0; 182 int percent = 0;183 int lastpos = 0;184 184 185 185 /*@ buffers ** */ … … 389 389 flag_val['d']); 390 390 log_to_screen(tmp); 391 percent = 0;392 391 } 393 392 … … 660 659 } 661 660 paranoid_free(tmp1); 662 lastpos = 0;663 661 664 662 mr_make_devlist_from_pathlist(flag_val['E'], 'E'); … … 813 811 /* Before changing remove old ones if any */ 814 812 if (bkpinfo->scratchdir) { 815 chdir("/tmp"); 813 if (chdir("/tmp")) { 814 // FIXME 815 } 816 816 mr_asprintf(&tmp1, "rm -Rf %s", bkpinfo->scratchdir); 817 817 paranoid_system(tmp1);
Note:
See TracChangeset
for help on using the changeset viewer.