Changeset 2901 in MondoRescue


Ignore:
Timestamp:
Nov 8, 2011, 5:45:50 PM (12 years ago)
Author:
victor gattegno
Message:

Modified by Victor Gattegno - 20111108
To solve http://trac.mondorescue.org/ticket/520

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/newt-specific.c

    r2886 r2901  
    275275char *tmp1 = NULL;
    276276
    277     mr_asprintf(&tmp,"ps %s | grep \" %s \" | awk '{print %s;}' | grep -v \"grep\"", ps_options, str , ps_proc_id);
     277    mr_asprintf(&tmp,"ps %s | grep \" %s \" | grep -v \"grep\" | awk '{print %s;}'", ps_options, str , ps_proc_id);
    278278    run_program_and_log_output(tmp, TRUE);
    279279    if (strlen(tmp) > 0) {
Note: See TracChangeset for help on using the changeset viewer.