Changeset 2132 in MondoRescue


Ignore:
Timestamp:
Jan 24, 2009, 11:46:02 PM (12 years ago)
Author:
Bruno Cornec
Message:

Remove useless checked values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/mondorestore/mondorestore.c

    r2114 r2132  
    31863186            run_program_and_log_output("sync", FALSE);
    31873187            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);
    31923189            }
    31933190
    31943191            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");
    32023193            }
    32033194            mvaddstr_and_log_it(g_currentY++,
Note: See TracChangeset for help on using the changeset viewer.