Ignore:
Timestamp:
Oct 30, 2007, 12:18:10 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • Fix a command build format error
  • USB should never be ejected
File:
1 edited

Legend:

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

    r1743 r1745  
    16451645
    16461646#else
    1647     sprintf(command, "mount %s -t vfat 2>> %s",
     1647    sprintf(command, "mount %s -t vfat %s 2>> %s",
    16481648            device, mountpoint, MONDO_LOGFILE);
    16491649#endif
     
    19091909    case dvd:
    19101910    case usb:
     1911        /* Never try to eject a USB device */
     1912        if (bkpinfo->backup_media_type == usb) {
     1913            bkpinfo->please_dont_eject = FALSE;
     1914        }
    19111915        if (archiving_to_media) {
    19121916            if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) {
Note: See TracChangeset for help on using the changeset viewer.