Changeset 1881 in MondoRescue for branches/2.2.5


Ignore:
Timestamp:
Jan 27, 2008, 9:25:35 PM (16 years ago)
Author:
Bruno Cornec
Message:

Should fix the problem with the prefix always asked at restore time, even when it's not NFS

Location:
branches/2.2.5/mondo/src
Files:
2 edited

Legend:

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

    r1645 r1881  
    10011001        return (1);
    10021002    }
     1003    /* Not used
    10031004    sprintf(tmp, "Reading file from tape; writing to '%s'; %ld KB",
    10041005            outfname, (long) size >> 10);
     1006            */
    10051007
    10061008    if (foutstream) {
  • branches/2.2.5/mondo/src/mondorestore/mondo-restore.c

    r1879 r1881  
    430430    read_cfg_file_into_bkpinfo(g_mondo_cfg_file);
    431431    iamhere("Done loading config file; resizing ML");
    432     if (bkpinfo->backup_media_type != usb) {
     432    if (bkpinfo->backup_media_type == nfs) {
    433433        strcpy(tmp, bkpinfo->prefix);
    434434        if (popup_and_get_string
Note: See TracChangeset for help on using the changeset viewer.