aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/initlog.c1
-rw-r--r--src/process.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/initlog.c b/src/initlog.c
index 96b5af87..cd787fcf 100644
--- a/src/initlog.c
+++ b/src/initlog.c
@@ -121,7 +121,6 @@ int logLine(struct logInfo *logEnt) {
if (logEntries>0) {
for (x=0;x<logEntries;x++) {
openlog(logData[x].cmd,0,logData[x].fac);
- printf("flushing %s\n",logData[x].line);
syslog(logData[x].pri,"%s",logData[x].line);
closelog();
}
diff --git a/src/process.c b/src/process.c
index 48f3b314..860d9452 100644
--- a/src/process.c
+++ b/src/process.c
@@ -176,6 +176,7 @@ int monitor(char *cmdname, int pid, int numfds, int *fds, int reexec, int quiet)
buf=calloc(2048,sizeof(char));
do {
x=read(outpipe[0],buf,2048);
+ write(1,"\n",1);
write(1,buf,x);
buf=calloc(2048,sizeof(char));
} while (x==2048);