Ignore:
Timestamp:
Apr 11, 2007, 7:06:14 PM (17 years ago)
Author:
Bruno Cornec
Message:

Fix 2 references to grep -x which are not working during a restore process due to busybox limits of grep command (Fix for #96)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mondo/src/mondorestore/mondo-rstr-compare.c

    r998 r1294  
    378378    if (length_of_file(logfile) > 5) {
    379379        sprintf(command,
    380                 "sed s/': \\\"'/\\|/ %s | sed s/'\\\": '/\\|/ | cut -d'|' -f2 | sort -u | grep -vx \"dev/.*\" >> /tmp/changed.txt",
     380                "sed s/': \\\"'/\\|/ %s | sed s/'\\\": '/\\|/ | cut -d'|' -f2 | sort -u | grep -vE \"^dev/.*\" >> /tmp/changed.txt",
    381381                logfile);
    382382        system(command);
Note: See TracChangeset for help on using the changeset viewer.