From bb6d0002c924dbb74674585ff05ee23c436f2a32 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Jun 2017 11:17:06 +0200 Subject: Even more journalctl-related fixes --- buildos | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildos b/buildos index 45a4b38..692dc48 100755 --- a/buildos +++ b/buildos @@ -1055,10 +1055,11 @@ EOF echo; "${c[@]}" --priority 4 | head -n 200; echo; - echo "context [$sd -- $ed]:"; + echo "context:"; echo; if [ -n "$oc" ]; then - unset 'c[${#c[@]}-2]' # Pop cursor (for --since/--until). + unset 'c[-1]' # Pop cursor (for --since/--until). + unset 'c[-1]' fi; "${c[@]}" --since "$sd" --until "$ed" | head -n 200 } | email "$s" -- cgit v1.1