Changeset 944 in MondoRescue for branches/stable/mondo/src/common


Ignore:
Timestamp:
Nov 18, 2006, 1:25:11 AM (18 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/common/libmondo-filelist.c

    r943 r944  
    164164extern int g_noof_rows;
    165165
    166 
     166extern char *g_getfacl;
     167extern char *g_getfattr;
    167168
    168169
     
    602603    int retval = 0;
    603604
    604     if (find_home_of_exe("getfacl")) {
     605    if (g_getfacl != NULL) {
    605606        malloc_string(command);
    606607        sprintf(command, "touch %s", facl_fname);
     
    623624    int retval = 0;
    624625
    625     if (find_home_of_exe("getfattr")) {
     626    if (g_getfattr != NULL) {
    626627        malloc_string(command);
    627628        sprintf(command, "touch %s", fattr_fname);
Note: See TracChangeset for help on using the changeset viewer.