Ignore:
Timestamp:
Nov 29, 2005, 1:50:25 PM (13 years ago)
Author:
bcornec
Message:

mondoarchive is currently core dumping :-(
Revert back one of the 'cat' patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/mondo/common/libmondo-archive.c

    r128 r143  
    10441044    } else {
    10451045        log_to_screen("Mindi failed to create your boot+data disks.");
    1046         sprintf(command, "grep 'Fatal error' %s", "/var/log/mindi.log");
     1046        strcpy(command, "grep 'Fatal error' /var/log/mindi.log");
    10471047        strcpy(tmp, call_program_and_get_last_line_of_output(command));
    10481048        if (strlen(tmp) > 1) {
     
    38713871*/
    38723872        sprintf(tmp,
    3873                 "sed -n -e 's/afio: //p' %s | grep -vx '/dev/.*' >> /tmp/changed.files",
     3873                "grep 'afio: ' %s | sed 's/afio: //' | grep -vx '/dev/.*' >> /tmp/changed.files",
    38743874                MONDO_LOGFILE);
    38753875        system(tmp);
    38763876
    38773877        sprintf(tmp,
    3878                 "sed -n -e 's/star: //p' %s | grep -vx '/dev/.*' >> /tmp/changed.files",
     3878                "grep 'star: ' %s | sed 's/star: //' | grep -vx '/dev/.*' >> /tmp/changed.files",
    38793879                MONDO_LOGFILE);
    38803880        system(tmp);
Note: See TracChangeset for help on using the changeset viewer.