Changeset 2074 in MondoRescue


Ignore:
Timestamp:
Dec 8, 2008, 1:42:21 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • editor variable wasn't setup for mondorestore.c correctly
File:
1 edited

Legend:

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

    r2072 r2074  
    373373
    374374    char *tmp1 = NULL;
     375    char *editor = NULL;
    375376
    376377    /* Clean up multiconf cache file if they exist */
     
    385386    } else {
    386387        paranoid_free(tmp1);
    387         return();
     388        return;
    388389    }
    389390    paranoid_free(tmp1);
     391    asprintf(&editor, "%s", find_my_editor());
    390392    asprintf(&tmp1,"chroot %s %s /etc/multipath.conf", MNT_RESTORING, editor);
    391393    paranoid_system(tmp1);
    392394    paranoid_free(tmp1);
     395    paranoid_free(editor);
    393396}
    394397
Note: See TracChangeset for help on using the changeset viewer.