minor fixes to csync container, better logging

This commit is contained in:
2016-06-08 23:18:57 +02:00
parent a81bdbf983
commit 61384c3553
3 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ int getaddrinfo(const char *node, const char *service, const struct addrinfo *hi
if (res_init() < 0) { if (res_init() < 0) {
return EAI_SYSTEM; return EAI_SYSTEM;
} else { } else {
int (*f)() = dlsym (RTLD_NEXT, "getaddrinfo"); int (*f)() = dlsym(RTLD_NEXT, "getaddrinfo");
return f(node, service, hints, res); return f(node, service, hints, res);
} }
} }

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
set -e set -e
/usr/local/sbin/csync2 -iiv > $CSYNC_LOG /usr/local/sbin/csync2 -iiv >> $CSYNC_LOG 2>&1