int count = 1;
struct timeval tv={.tv_sec=5,.tv_usec=0};
- while (count < 100000) {
+ while (count < 1000000) {
fd_set readSet;
int res;
int nlines=0;
fprintf(stderr, "Waiting for %s (%s)\n", top_in_file,strerror(errno));
usleep (50);
}
- printf("%d open\n",fd_in);
//printf("(1)");
if ((flag = fcntl(fd_out, F_GETFL)) == -1) {
stop)
echo -n "Stopping $name:"
killproc $name
- killproc $name
+ #killproc $name - Why were there 2 instances of this? :-|
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f ${lockfile} ${pidfile}