Changeset 944 in MondoRescue for branches/stable/mondo/src/mondoarchive/main.c


Ignore:
Timestamp:
Nov 18, 2006, 1:25:11 AM (17 years ago)
Author:
Bruno Cornec
Message:

getfacl and getfattr not searched everytime but only in the main of mondoarchive (in link with #63)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/main.c

    r928 r944  
    142142char *ps_options = "auxww";
    143143char *ps_proc_id = "$2";
     144char *g_getfacl = NULL
     145char *g_getfattr = NULL
    144146
    145147extern t_bkptype g_backup_media_type;
     
    456458            bkpinfo->scratchdir);
    457459
     460    if (find_home_of_exe("getfacl")) {
     461        asprintf(&g_setfacl,"getfacl");
     462    }
     463    if (find_home_of_exe("getfattr")) {
     464        asprintf(&g_setfacl,"getfattr");
     465    }
     466
    458467    /* If we're meant to backup then backup */
    459468    if (bkpinfo->backup_data) {
    460 /*
    461       log_to_screen("INFERNAL PORPOISES");
    462       res = archive_this_fileset_with_star(bkpinfo, "/tmp/filelist.0", "/tmp/0.star.bz2", 0);
    463       log_to_screen("atfws returned %d", res);
    464       finish(0);
    465 */
    466469        res = backup_data(bkpinfo);
    467470        retval += res;
Note: See TracChangeset for help on using the changeset viewer.