Changeset 2878 in MondoRescue for branches/2.2.9/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Oct 5, 2011, 1:20:58 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/mondorestore/mondo-rstr-tools.c
r2847 r2878 304 304 return (1); 305 305 } 306 paranoid_system("umount " MNT_CDROM " 2> /dev/null"); /* just in case */306 paranoid_system("umount -d " MNT_CDROM " 2> /dev/null"); /* just in case */ 307 307 308 308 if (is_this_device_mounted(g_isodir_device)) { … … 681 681 if (does_file_exist(MNT_CDROM "/archives/filelist.0")) { 682 682 bkpinfo->backup_media_type = cdr; 683 run_program_and_log_output("umount " MNT_CDROM, 1);683 run_program_and_log_output("umount -d " MNT_CDROM, 1); 684 684 log_it 685 685 ("Re-jigging configuration AGAIN. CD-R, not ISO."); … … 2254 2254 } 2255 2255 } 2256 run_program_and_log_output("umount " MNT_CDROM, FALSE);2256 run_program_and_log_output("umount -d " MNT_CDROM, FALSE); 2257 2257 if (!does_file_exist(cfg_file)) { 2258 2258 log_it("%s",cfg_file);
Note:
See TracChangeset
for help on using the changeset viewer.