Changeset 1548 in MondoRescue for branches/stable/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Jul 24, 2007, 1:39:36 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondorestore.c
r1458 r1548 345 345 *END_ EXTRACT_CONFIG_FILE_FROM_RAMDISK * 346 346 **************************************************************************/ 347 348 static void clean_blkid(struct s_bkpinfo *bkpinfo) { 349 350 char *tmp1 = NULL; 351 352 /* Clean up blkid cache file if they exist */ 353 mr_asprintf(&tmp1,"%s/etc/blkid.tab",bkpinfo->restore_path); 354 (void)unlink(tmp1); 355 mr_free(tmp1); 356 mr_asprintf(&tmp1,"%s/etc/blkid.tab.old",bkpinfo->restore_path); 357 (void)unlink(tmp1); 358 mr_free(tmp1); 359 } 347 360 348 361 … … 586 599 } 587 600 601 clean_blkid(bkpinfo); 588 602 protect_against_braindead_sysadmins(); 589 603 retval += unmount_all_devices(mountlist); … … 839 853 boot_loader_installed = TRUE; 840 854 } 855 clean_blkid(bkpinfo); 841 856 protect_against_braindead_sysadmins(); 842 857 retval += unmount_all_devices(mountlist);
Note:
See TracChangeset
for help on using the changeset viewer.