Changeset 274 in MondoRescue for trunk/mondo/mondo/common/libmondo-filelist.c


Ignore:
Timestamp:
Jan 3, 2006, 4:15:54 PM (18 years ago)
Author:
bcornec
Message:

merge -r272:273 $SVN_M/branches/2.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-filelist.c

    r171 r274  
    530530  if (find_home_of_exe("setfacl"))
    531531    {
    532       sprintf(command, "cat %s | gzip -dc | setfacl --restore - 2>> %s", acl_fname, MONDO_LOGFILE);
     532      sprintf(command, "gzip -dc %s | setfacl --restore - 2>> %s", acl_fname, MONDO_LOGFILE);
    533533      log_msg(1, "command = %s", command);
    534534      retval = system(command);
     
    560560        log_msg(1,
    561561                "No masklist provided. I shall therefore set ALL attributes.");
    562         asprintf(&command, "cat %s | gzip -dc | %s --restore - 2>> %s",
     562        asprintf(&command, "gzip -dc %s | %s --restore - 2>> %s",
    563563                 original_exat_fname, executable, MONDO_LOGFILE);
    564564        log_msg(1, "command = %s", command);
     
    581581
    582582    sort_file(masklist);
    583     asprintf(&syscall_pin, "cat %s | gzip -dc", original_exat_fname);
     583    asprintf(&syscall_pin, "gzip -dc %s", original_exat_fname);
    584584    asprintf(&syscall_pout, "%s --restore - 2>> %s", executable,
    585585             MONDO_LOGFILE);
Note: See TracChangeset for help on using the changeset viewer.