summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-20 09:01:54 +0200
committerErich Eckner <git@eckner.net>2018-07-20 09:01:54 +0200
commit7fda9443ca27c2937c3ba502b45ea6af2556c411 (patch)
tree1c0cd4a3086c6091234127ab0d044ce09e18dd32 /bin
parent4406a7b544cce2b3ca6072b9ed49a4045d3ac32f (diff)
downloadbuilder-7fda9443ca27c2937c3ba502b45ea6af2556c411.tar.xz
bin/systemd-email: show upto 50 lines of log
Diffstat (limited to 'bin')
-rwxr-xr-xbin/systemd-email2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/systemd-email b/bin/systemd-email
index 7cc4a3b..8444758 100755
--- a/bin/systemd-email
+++ b/bin/systemd-email
@@ -16,6 +16,6 @@ fi
printf 'Content-Transfer-Encoding: 8bit\n'
printf 'Content-Type: text/plain; charset=UTF-8\n'
printf '\n'
- systemctl --user status --full "$1"
+ systemctl --user status --full --lines=50 "$1"
} | \
/usr/bin/digest-mailer