Ignore:
Timestamp:
Jun 13, 2010, 12:36:19 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3867@localhost: bruno | 2010-06-10 01:35:22 +0200

  • Fix compilation issues for mondo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c

    r2623 r2644  
    643643 * @return 0 for success, nonzero for failure.
    644644 */
    645 int get_cfg_file_from_initrd()
     645void get_cfg_file_from_initrd()
    646646{
    647647   /** malloc *****/
     
    714714            if (!does_file_exist(MINDI_CACHE_REL"/mondorestore.cfg")) {
    715715                log_to_screen("Cannot find config info on media");
    716                 return (1);
    717716            }
    718717        } else {
     
    728727        log_msg(1, "%s not found", cfg_file);
    729728        log_to_screen("Oh dear. Unable to recover configuration file from boot disk");
    730         return (1);
    731729    }
    732730
     
    741739
    742740    g_backup_media_type = bkpinfo->backup_media_type;
    743     return (retval);
    744741}
    745742
     
    19011898    if (! bkpinfo->disaster_recovery) {
    19021899        /* TODO: We need to get mondorestore.cfg and mountlist.txt from initrd.img */
    1903         get_cfg_file_from_initrd()
     1900        get_cfg_file_from_initrd();
    19041901    }
    19051902}
Note: See TracChangeset for help on using the changeset viewer.