aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-02 11:17:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-02 11:17:06 +0200
commitbb6d0002c924dbb74674585ff05ee23c436f2a32 (patch)
treed6c3738c8432b18b6db65406610c9f6435bf002f
parentfc92257dc31908454bb0c89a9adbafe031a6e743 (diff)
Even more journalctl-related fixes
-rwxr-xr-xbuildos5
1 files 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"