aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/minilogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minilogd.c b/src/minilogd.c
index 7fa2e586..5b62d414 100644
--- a/src/minilogd.c
+++ b/src/minilogd.c
@@ -34,7 +34,7 @@ void freeBuffer() {
addr.sun_family = AF_LOCAL;
strncpy(addr.sun_path,_PATH_LOG,sizeof(addr.sun_path)-1);
/* wait for klogd to hit syslog */
- sleep(1);
+ sleep(2);
sock = socket(AF_LOCAL, SOCK_DGRAM,0);
conn=connect(sock,(struct sockaddr *) &addr,sizeof(addr));
while (x<buflines) {