Ignore:
Timestamp:
Apr 11, 2007, 7:03:48 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/stable/mondo/src/common/newt-specific.c

    r1264 r1293  
    256256    char *tmp = NULL;
    257257
    258     mr_asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print %s;}' | grep -vx \"\\?\"`", ps_options, str, ps_proc_id);
     258    mr_asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print %s;}' | grep -v \"grep\"`", ps_options, str, ps_proc_id);
    259259    run_program_and_log_output(tmp, TRUE);
    260260    mr_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.