Changeset 1294 in MondoRescue for branches/2.2.2/mondo/src/common
- Timestamp:
- Apr 11, 2007, 7:06:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.2/mondo/src/common/newt-specific.c
r1274 r1294 349 349 char *tmp = NULL; 350 350 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); 354 354 } 355 355
Note:
See TracChangeset
for help on using the changeset viewer.