Changeset 3060 in MondoRescue for branches/3.0/mondo/src/common/libmondo-tools.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-tools.c
r3054 r3060 325 325 { 326 326 #ifdef __FreeBSD__ 327 system("kldstat | grep msdosfs || kldload msdosfs 2> /dev/null");328 system("kldstat | grep ext2fs || kldload ext2fs 2> /dev/null");327 paranoid_system("kldstat | grep msdosfs || kldload msdosfs 2> /dev/null"); 328 paranoid_system("kldstat | grep ext2fs || kldload ext2fs 2> /dev/null"); 329 329 #else 330 system("modprobe -a msdos vfat loop &> /dev/null");330 paranoid_system("modprobe -a msdos vfat loop &> /dev/null"); 331 331 #endif 332 332 } … … 747 747 /* purging a potential old tmpdir */ 748 748 log_it("Purging old tmpdir %s", bkpinfo->tmpdir); 749 chdir("/tmp"); 749 if (chdir("/tmp")) { 750 // FIXME 751 } 750 752 mr_asprintf(&tmp,"rm -Rf %s",bkpinfo->tmpdir); 751 (void)system(tmp);753 paranoid_system(tmp); 752 754 paranoid_free(tmp); 753 755 }
Note:
See TracChangeset
for help on using the changeset viewer.