Ignore:
Timestamp:
May 29, 2008, 7:36:58 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Change order of test do that when restoring, cdrecord is really not called ;-)
  • mondoarchive already configures correctly the device name to non-rew so avoid doing it again at restore time
  • Fix automatic mode handling which was exiting in fact.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.6/mondo/src/common/libmondo-devices.c

    r1968 r1969  
    18341834    case tape:
    18351835
    1836         if ((find_tape_device_and_size(bkpinfo->media_device, sz_size)) && (!bkpinfo->restore_mode)) {
     1836        if ((!bkpinfo->restore_mode) && (find_tape_device_and_size(bkpinfo->media_device, sz_size))) {
    18371837            log_msg(3, "Ok, using vanilla scsi tape.");
    18381838            strcpy(bkpinfo->media_device, VANILLA_SCSI_TAPE);
Note: See TracChangeset for help on using the changeset viewer.