Updated configure scripts and Makefiles
This commit is contained in:
@@ -33,7 +33,7 @@ install: all
|
||||
@if [ "`id -un`" != "root" ] ; then \
|
||||
echo; echo " Must be root to install!"; echo; exit 3; \
|
||||
fi
|
||||
${INSTALL} -c -s -o `id -un` -g `id -gn` -m 6755 mbtask ${BINDIR}
|
||||
${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6755 mbtask ${BINDIR}
|
||||
@if [ ! -f ${ETCDIR}/issue ]; then \
|
||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 issue ${ETCDIR} ; \
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 issue ${ETCDIR}"; \
|
||||
|
@@ -597,9 +597,6 @@ void *cmd_thread(void)
|
||||
pfd.events = POLLIN;
|
||||
pfd.revents = 0;
|
||||
rc = poll(&pfd, 1, 1000);
|
||||
#ifdef USE_EXPERIMENT
|
||||
Syslog('c', "cmd_thread: poll interrupted rc=%d events=%04x", rc, pfd.revents);
|
||||
#endif
|
||||
if (rc == -1) {
|
||||
/*
|
||||
* Poll can be interrupted by a finished child so that's not a real error.
|
||||
@@ -615,9 +612,6 @@ void *cmd_thread(void)
|
||||
memset(&buf, 0, sizeof(buf));
|
||||
fromlen = sizeof(from);
|
||||
rlen = recvfrom(sock, buf, sizeof(buf) -1, 0, (struct sockaddr *)&from, &fromlen);
|
||||
#ifdef USE_EXPERIMENT
|
||||
Syslog('c', "rcvd: \"%s\"", printable(buf, 0));
|
||||
#endif
|
||||
do_cmd(buf);
|
||||
} else {
|
||||
Syslog('-', "Return poll rc=%d, events=%04x", rc, pfd.revents);
|
||||
|
Reference in New Issue
Block a user