1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

Apply a patch to setup/dns.sh on Travis so nsd will start during upstream install

This commit is contained in:
downtownallday
2020-06-14 18:00:54 -04:00
parent 071c89c420
commit bce1cd41ff
3 changed files with 22 additions and 3 deletions

View File

@@ -100,7 +100,9 @@ rest_urlencoded() {
REST_ERROR="REST status $REST_HTTP_CODE: $REST_OUTPUT"
echo "${F_DANGER}$REST_ERROR${F_RESET}" 1>&2
if $is_local && [ $REST_HTTP_CODE -ge 500 ]; then
echo -n "$F_WARN"
tail -100 /var/log/syslog
echo -n "$F_RESET"
fi
return 2
fi