From: Ian Jackson Date: Tue, 10 Jan 2023 21:30:00 +0000 (+0000) Subject: tail syslog on failure X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=3d30adfccc295e56d487c5dec572d9add9924310;p=hippotat.git tail syslog on failure Signed-off-by: Ian Jackson --- diff --git a/adt/acommon b/adt/acommon index cc56adf..4c310c0 100644 --- a/adt/acommon +++ b/adt/acommon @@ -14,6 +14,7 @@ trap ' rc=$? : =================== ^^ TEST FAILURE ^^ ==================== set +e + tail -100 /var/log/syslog $on_failure exit $rc ' 0