Ignore:
Timestamp:
Sep 13, 2006, 11:48:01 PM (14 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/mondorestore/mondo-rstr-tools.c

    r746 r792  
    513513    malloc_string(command);
    514514    sprintf(command,
    515             "kill `ps wax 2> /dev/null | grep petris 2> /dev/null | grep -v grep | cut -d' ' -f2` 2> /dev/null");
     515            "kill `ps 2> /dev/null | grep petris 2> /dev/null | grep -v grep | cut -d' ' -f2` 2> /dev/null");
    516516    paranoid_system(command);
    517517    paranoid_free(command);
     
    21792179         &&
    21802180         run_program_and_log_output
    2181          ("ps wax | grep buffer | grep -v \"grep buffer\"", TRUE) == 0;
     2181         ("ps | grep buffer | grep -v \"grep buffer\"", TRUE) == 0;
    21822182         i++) {
    21832183        sleep(1);
Note: See TracChangeset for help on using the changeset viewer.