Changeset 79 for trunk/src


Ignore:
Timestamp:
Jan 12, 2007, 10:00:55 PM (18 years ago)
Author:
rainer
Message:

Fixes ticket #42 (timeout in samhainctl) and ticket #44 (broken 'make deb' target).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/samhain.c

    r59 r79  
    914914      default:
    915915        times = 0;
    916         while (times < 64) {
     916        while (times < 120) {
    917917          respid = waitpid(pid, &status, WNOHANG|WUNTRACED);
    918918          if ((pid_t)-1 == respid)
     
    934934          (void) retry_msleep(1, 0);
    935935        }
    936         exit (1);
     936        exit (0); /* assume that it runs ok */
    937937      }
    938938    }
Note: See TracChangeset for help on using the changeset viewer.