Ignore:
Timestamp:
Nov 21, 2006, 1:42:46 AM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r938:954 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/common/libmondo-fifo.c

    r932 r956  
    160160
    161161    sync();
     162    if (g_sz_call_to_buffer == NULL) {
     163        return;
     164    }
     165    if (strcmp(g_sz_call_to_buffer,"") == 0) {
     166        return;
     167    }
    162168    mr_asprintf(&command,
    163             "ps %s | grep -F \"%s\" | grep -Fv grep | awk '{print $2;}' | grep -v PID | head -1", ps_options,
    164             g_sz_call_to_buffer);
     169            "ps %s | grep -F \"%s\" | grep -Fv grep | awk '{print $2;}' | grep -v PID | head -1", ps_options, g_sz_call_to_buffer);
    165170    mr_free(g_sz_call_to_buffer);
    166171    log_msg(2, "kill_buffer() --- command = %s", command);
Note: See TracChangeset for help on using the changeset viewer.