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/common/newt-specific.c

    r1274 r1294  
    349349char *tmp = NULL;
    350350
    351 asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print %s;}' | grep -vx \"\\?\"`", ps_options, str , ps_proc_id);
    352 run_program_and_log_output(tmp, TRUE);
    353 paranoid_free(tmp);
     351    asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print %s;}' | grep -v \"grep\"`", ps_options, str , ps_proc_id);
     352    run_program_and_log_output(tmp, TRUE);
     353    paranoid_free(tmp);
    354354}
    355355
Note: See TracChangeset for help on using the changeset viewer.