Changeset 849 in MondoRescue


Ignore:
Timestamp:
Sep 27, 2006, 1:41:29 AM (18 years ago)
Author:
Bruno Cornec
Message:

kill_anything_like_this is now a function so that we can have different options for ps depending of real ps or busybox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/include/my-stuff.h

    r783 r849  
    314314 */
    315315#define MALLOC_CHECK_ 1
    316 
    317 /**
    318  * Kill any process containing the string @p x surrounded by spaces in its commandline.
    319  */
    320 #define kill_anything_like_this(x) {run_program_and_log_output("kill `ps wax | grep \"" x "\" | awk '{print $1;}' | grep -vx \"\\?\"`", TRUE);}
    321316
    322317/**
Note: See TracChangeset for help on using the changeset viewer.