Changeset 2132 in MondoRescue for branches/2.2.8
- Timestamp:
- Jan 24, 2009, 11:46:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/mondorestore/mondorestore.c
r2114 r2132 3186 3186 run_program_and_log_output("sync", FALSE); 3187 3187 if (is_this_device_mounted(MNT_CDROM)) { 3188 res = 3189 run_program_and_log_output("umount " MNT_CDROM, FALSE); 3190 } else { 3191 res = 0; 3188 run_program_and_log_output("umount " MNT_CDROM, FALSE); 3192 3189 } 3193 3190 3194 3191 if (!bkpinfo->please_dont_eject) { 3195 res = eject_device("/dev/cdrom"); 3196 /* 3197 if (res) 3198 { 3199 log_to_screen( "WARNING - failed to eject CD-ROM disk" ); 3200 } 3201 */ 3192 (void)eject_device("/dev/cdrom"); 3202 3193 } 3203 3194 mvaddstr_and_log_it(g_currentY++,
Note:
See TracChangeset
for help on using the changeset viewer.