Changeset 2901


Ignore:
Timestamp:
Nov 8, 2011, 5:45:50 PM (8 years ago)
Author:
vicgat
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.