Changeset 1849 in MondoRescue


Ignore:
Timestamp:
Jan 4, 2008, 4:05:23 PM (16 years ago)
Author:
Bruno Cornec
Message:

Fix isodir uninitialized in NFS restore, leading to a bad test first time, but correct in a second try

File:
1 edited

Legend:

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

    r1848 r1849  
    21322132        bkpinfo->please_dont_eject = TRUE;
    21332133
     2134        /* Initiate bkpinfo paths from running environment if not already done */
    21342135        if (!bkpinfo->nfs_mount[0]) {
    21352136            strcpy(bkpinfo->nfs_mount,
    21362137                   call_program_and_get_last_line_of_output
    21372138                   ("mount | grep \":\" | cut -d' ' -f1 | head -n1"));
     2139        }
     2140        if (!bkpinfo->isodir[0]) {
     2141            strcpy(bkpinfo->isodir,
     2142                   call_program_and_get_last_line_of_output
     2143                   ("mount | grep \":\" | cut -d' ' -f3 | head -n1"));
    21382144        }
    21392145#ifdef __FreeBSD__
Note: See TracChangeset for help on using the changeset viewer.