minor fixes to csync container, better logging
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user