Changeset 932 in MondoRescue for trunk/mondo/src/common/newt-specific.c


Ignore:
Timestamp:
Nov 15, 2006, 12:40:15 PM (13 years ago)
Author:
Bruno Cornec
Message:

merge -r913:931 $SVN_M/branches/stable

File:
1 edited

Legend:

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

    r900 r932  
    3535extern char *g_mondo_home;
    3636extern char *ps_options;
     37    extern char *ps_proc_id;
    3738
    3839extern void set_signals(int);
     
    244245    char *tmp = NULL;
    245246
    246     mr_asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print $1;}' | grep -vx \"\\?\"`", ps_options, str);
    247 run_program_and_log_output(tmp, TRUE);
     247    mr_asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print %s;}' | grep -vx \"\\?\"`", ps_options, str, ps_proc_id);
     248    run_program_and_log_output(tmp, TRUE);
    248249    mr_free(tmp);
    249250}
Note: See TracChangeset for help on using the changeset viewer.