Changeset 792 in MondoRescue for branches/stable/mondo/mondo/common/my-stuff.h


Ignore:
Timestamp:
Sep 13, 2006, 11:48:01 PM (18 years ago)
Author:
Bruno Cornec
Message:

Fix Bug #24

  • Introduce kill_anything_like_this as a function instead of define
  • Add an external variable ps_options whose value is empty in restore and auxww in archive
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/my-stuff.h

    r686 r792  
    439439 */
    440440#define MALLOC_CHECK_ 1
    441 
    442 /**
    443  * Kill any process containing the string @p x surrounded by spaces in its commandline.
    444  */
    445 #define kill_anything_like_this(x) {run_program_and_log_output("kill `ps wax | grep \"" x "\" | awk '{print $1;}' | grep -vx \"\\?\"`", TRUE);}
    446441
    447442/**
Note: See TracChangeset for help on using the changeset viewer.