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

Tail /var/log/messages if upstream setup fails

This commit is contained in:
downtownallday
2020-06-14 17:19:30 -04:00
parent 6a93af9670
commit 071c89c420
2 changed files with 7 additions and 2 deletions

View File

@@ -67,7 +67,12 @@ upstream_install() {
fi
H2 "Run upstream setup"
setup/start.sh || die "Upstream setup failed!"
if ! setup/start.sh; then
echo "$F_WARN"
tail -100 /var/log/syslog
echo "$F_RESET"
die "Upstream setup failed!"
fi
popd >/dev/null
H2 "Upstream info"